Closed
Bug 1196726
Opened 9 years ago
Closed 3 years ago
Air Mozilla videos (JW Player) won't play with autoplay disabled
Categories
(Core :: Audio/Video: Playback, defect, P5)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox40 | --- | unaffected |
firefox41 | --- | affected |
firefox42 | --- | affected |
firefox43 | --- | affected |
People
(Reporter: stef, Unassigned)
References
Details
If media.autoplay.enabled is set to false, videos on https://air.mozilla.org cease to start playing (after clicking play button spinner is shown forever).
Reporter | ||
Updated•9 years ago
|
Summary: Videos won't play with → Videos won't play with atuoplay disabled
Comment 1•9 years ago
|
||
This might very well be a JWPlayer bug. Or are you talking about a live video?
We actually don't want archived videos to autoplay. But for live streams we do.
I'm not super familiar with it but I can only imagine that media.autoplay.enabled is related to the built-in video player in the browser. We're actually not using that. We're using a javascript player that wraps the very very basic video player in the browser.
Reporter | ||
Comment 2•9 years ago
|
||
It is about archived videos and JWPlayer being depended on media.autoplay.enabled set to true (could be seen as bug in JWPlayer). Could be tested easily on https://air.mozilla.org/tracking-protection-for-firefox/
Comment 3•9 years ago
|
||
So, do you think we should raise this with JWPlayer?
Summary: Videos won't play with atuoplay disabled → Videos won't play with autoplay disabled
Reporter | ||
Comment 4•9 years ago
|
||
I don't know much about airmo or jwplayer but yes, that sounds like a way to fix that.
Updated•9 years ago
|
Component: Streaming → Air Mozilla
Product: Air Mozilla → Webtools
Version: unspecified → 0.1
This is likely related to bug 1173848, and not (just?) a JWPlayer bug.
Comment 7•9 years ago
|
||
As hobophobe points out, this bug also affects the YouTube player so it is probably a Firefox bug. I suspect it's a regression from bug 659285. Let's move this bug to the Core::Audio/Video Playback component to be triaged.
Assignee: peterbe → nobody
Blocks: 659285
status-firefox40:
--- → unaffected
status-firefox41:
--- → affected
status-firefox42:
--- → affected
status-firefox43:
--- → affected
Component: Air Mozilla → Audio/Video: Playback
Product: Webtools → Core
Version: 0.1 → Trunk
Updated•9 years ago
|
Summary: Videos won't play with autoplay disabled → Air Mozilla videos (JW Player) won't play with autoplay disabled
Comment 8•9 years ago
|
||
Sounds like the player sync problems we've seen with youtube player and onscreen controls too.
Unless jwplayer is just assuming autoplay works without checking for playback start.
Priority: -- → P5
Comment 9•9 years ago
|
||
Can you try changing this line:
https://dxr.mozilla.org/mozilla-central/rev/f2518b8a7b97b5bb477e94bc9131584007aac887/layout/style/nsCSSRuleProcessor.cpp#2849
to:
return eRestyle_Subtree;
If that fixes the problem, then this is a dupe of bug 1192302 (regression from bug 1180118).
Reporter | ||
Comment 10•9 years ago
|
||
I might have found workaround for this ugly player - if you push video to be full screen (double click on video or use player icon) then video playback starts…
Comment 11•9 years ago
|
||
(In reply to Cameron McCormack (:heycam) from comment #9)
> If that fixes the problem, then this is a dupe of bug 1192302 (regression
> from bug 1180118).
I've tested, and this bug is not the cause.
Comment 12•9 years ago
|
||
I am seeing this issue using Firefox 64-bit beta 42.0b1, when browsing news stories at http://www.msn.com/en-us/money, where the video is typically at the start of the story. Setting media.autoplay.enabled to false is my only change to about:config.
Stefan's workaround (comment 10) does not work for me, because the video controls appear to be locked, and so I cannot switch to full screen when autoplay is disabled.
Comment 13•9 years ago
|
||
When bug 1244768 is implemented this should be easier to fix *upstream*.
See also bug 1173848 for the Youtube player.
Depends on: 1244768
Updated•9 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•