Bug 1244768 part 4 - call NotifyAboutPlaying() while ready state is changed; r=jwwang
4.8.12.7 https://html.spec.whatwg.org/multipage/embedded-content.html#ready-states MozReview-Commit-ID: 1RUIU6Rw2SF
This commit is contained in:
@@ -5546,7 +5546,7 @@ void HTMLMediaElement::ChangeReadyState(nsMediaReadyState aState)
|
||||
DispatchAsyncEvent(NS_LITERAL_STRING("canplay"));
|
||||
if (!mPaused) {
|
||||
mWaitingForKey = NOT_WAITING_FOR_KEY;
|
||||
DispatchAsyncEvent(NS_LITERAL_STRING("playing"));
|
||||
NotifyAboutPlaying();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user