diff --git a/content/html/content/src/nsHTMLMediaElement.cpp b/content/html/content/src/nsHTMLMediaElement.cpp old mode 100644 new mode 100755 index 2225f679bbb..ad6f1941552 --- a/content/html/content/src/nsHTMLMediaElement.cpp +++ b/content/html/content/src/nsHTMLMediaElement.cpp @@ -3564,8 +3564,9 @@ void nsHTMLMediaElement::UpdateAudioChannelPlayingState() // The nsHTMLMediaElement is registered to the AudioChannelService only on B2G. #ifdef MOZ_B2G bool playingThroughTheAudioChannel = - (mReadyState >= nsIDOMHTMLMediaElement::HAVE_FUTURE_DATA && - IsPotentiallyPlaying()); + (mReadyState >= nsIDOMHTMLMediaElement::HAVE_CURRENT_DATA && + !mPaused && + !IsPlaybackEnded()); if (playingThroughTheAudioChannel != mPlayingThroughTheAudioChannel) { mPlayingThroughTheAudioChannel = playingThroughTheAudioChannel;