-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consider src= fully loaded only after first frame
This fixes the definition of load() to wait for a frame before resolving the load() Promise for src= playbacks. Now methods like isAudioOnly can be trusted as soon as load() resolves. This also allows load() to fail for src= playbacks if an error event fires from the media element. Issue #816 Issue #997 Change-Id: I0f6120d1334bbebcb78efdbbca65c7981f3ef265
- Loading branch information
1 parent
8178e91
commit 831dfa6
Showing
2 changed files
with
87 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters