Closed Bug 1217438 Opened 9 years ago Closed 7 years ago

Firefox 41 with media.autoplay.enabled false doesn't play YouTube embeds

Categories

(Core :: Audio/Video: Playback, defect, P3)

41 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1412772
Tracking Status
platform-rel --- +
firefox53 --- unaffected

People

(Reporter: billstclair, Unassigned, NeedInfo)

References

Details

(Whiteboard: [platform-rel-Youtube])

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:41.0) Gecko/20100101 Firefox/41.0
Build ID: 20151014143721

Steps to reproduce:

Running this on a late 2011 iMac under Mac OS X 10.11.1, but it also happened in 10.11.0. I doubt that it's machine or OS specific, but I haven't tried it in Ubuntu.

Go to about:config in Firefox 41.0.2 and set media.autoplay.enabled to false

Go to any YouTube video, e.g. https://www.youtube.com/watch?v=3mzbU0rS1TQ 

Note that the video starts to load, and the play/pause control shows the pause double-bars, but the video doesn't play. You can make it play by clicking the play/pause control twice.

Click the "Share" link. Then click the "Embed" link and "SHOW MORE" under the text box with the HTML.

Click the red play button in the center of the video.



Actual results:

The video starts loading, and the play/pause button in the lower-left-hand corner looks like it ought to be playing, but it won't actually play until two taps on the play/pause button.


Expected results:

In at least the auto-embed case, where I just explicitly pressed the red play button, the video should play.

Your call as to whether going directly to a YouTube video page should auto-play, but if it doesn't, the play/pause control should be a right-pointing play button, not a two-vertical-bar pause button, and you should only have to click it once to play.
I also saw this permanently the last days and intermittently today. In bug 1201761, the reporter assumed that it's an issue on Youtube's end. The autoplay gets blocked by an extension here, and autoplay works as expected in clean profiles. So that is at least different from bug 1201761.
Component: Untriaged → Audio/Video
Product: Firefox → Core
Bug is reproducible as described on Windows 7 x64.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Audio/Video → Audio/Video: Playback
I've been seeing this for a while, but the title of this bug and description are, IMHO, misleading.  The actual situation I see is:

With autoplay false, an autoplay video appears in play state but not playing.  Clicking once on the play button, or pressing the space bar, toggles to the pause state.  You then need to click or space a second time to get it playing.
This is a behaviour change from Bug 659285. Randall, can your move your change there into a separate pref so that people relying on the old behaviour don't see unexpected behaviour?
Blocks: 659285
Flags: needinfo?(rbarker)
Regarding the play/pause button state confusion: the Youtube video controls are drawn by Youtube. The problem with the play/pause button is in their code, not ours -- you can see the Firefox controls if you shift+right-click and pick "Show Controls", and those have the right state.
Flags: needinfo?(rbarker)
autoplay=false issues should be P2.
Priority: P5 → P2
I also have this problem.
platform-rel: --- → ?
Whiteboard: [platform-rel-Youtube]
Mass change P2 -> P3
Priority: P2 → P3
platform-rel: ? → +
Rank: 80
¡Hola Bill!

What's described on https://bugzilla.mozilla.org/show_bug.cgi?id=1217438#c0 works for me on Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 ID:20161228030213 CSet: d7b6af32811bddcec10a47d24bd455a1ec1836fc

Could you please grab a copy of Firefox Nightly from https://www.mozilla.org/firefox/channel/desktop/#nightly and confirm?

¡Gracias!
Alex
Flags: needinfo?(billstclair)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.