Bug 1304134. Part 2 - per spec. fire 'playing' when autoplay is activated. r=cpearce
MozReview-Commit-ID: 4fFUvquMgEC
This commit is contained in:
@@ -4977,6 +4977,8 @@ void HTMLMediaElement::CheckAutoplayDataReady()
|
||||
|
||||
// For blocked media, the event would be pending until it is resumed.
|
||||
DispatchAsyncEvent(NS_LITERAL_STRING("play"));
|
||||
|
||||
DispatchAsyncEvent(NS_LITERAL_STRING("playing"));
|
||||
}
|
||||
|
||||
bool HTMLMediaElement::IsActive() const
|
||||
|
||||
Reference in New Issue
Block a user