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)

defect

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).
Summary: Videos won't play with → Videos won't play with atuoplay disabled
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.
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/
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
I don't know much about airmo or jwplayer but yes, that sounds like a way to fix that.
Component: Streaming → Air Mozilla
Product: Air Mozilla → Webtools
Version: unspecified → 0.1
I'll file a bug with JWPlayer
Assignee: nobody → peterbe
This is likely related to bug 1173848, and not (just?) a JWPlayer bug.
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
Component: Air Mozilla → Audio/Video: Playback
Product: Webtools → Core
Version: 0.1 → Trunk
Summary: Videos won't play with autoplay disabled → Air Mozilla videos (JW Player) won't play with autoplay disabled
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
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).
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…
(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.
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.
When bug 1244768 is implemented this should be easier to fix *upstream*. See also bug 1173848 for the Youtube player.
Depends on: 1244768
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.