Polyfill HTMLMediaElement.play

Return a `Promise` to match the new standard.
This commit is contained in:
Dmitry Lyzo 2022-02-26 13:28:16 +03:00
parent 801c29d3b9
commit 270430f6a1
3 changed files with 41 additions and 21 deletions

View file

@ -31,6 +31,7 @@ import './serverNotifications';
import '../components/playback/playerSelectionMenu';
import '../legacy/domParserTextHtml';
import '../legacy/focusPreventScroll';
import '../legacy/htmlMediaElement';
import '../legacy/vendorStyles';
import SyncPlay from '../components/syncPlay/core';
import { playbackManager } from '../components/playback/playbackmanager';