Closed missic closed 9 years ago
Video related. The behavior changes with UA. @hallvors ping.
What I see: in Firefox OS, loading a page with a video shows a non-moving "loading" animation graphic on top of the "poster" graphic from the video. On Android, I see the same poster frame but with a play button. Tapping the play button starts a loading animation but the video never starts.
The Android issue is caused by a missing preload="metadata" attribute (it starts working if you set media.preload.default to 2). (This is https://bugzilla.mozilla.org/show_bug.cgi?id=1165203 )
There's some logic for determining what platforms get autoplay:
if((isMobileTabletDevice() && _firstTouch) || !my.autoplay()) {
_waitingForPlay = true;
showCustomPoster();
//fix: controls stay hidden after ad
if(getDevice().os==DEVICE_OS.IOS && getDevice().type==DEVICE_TYPE.TABLET){
showPlayerControls();
} else {
hidePlayerControls();
}
//fix: on old iphones custom controls are not clickable
hidePlayer();
showPlay(doPlayVideoWithCustomControls);
but basically, the issue is the same on Firefox OS: if there's a preload="metadata" attribute the video will start playing. The fix for bug 1165203 will sort if out, so we don't need to contact them.
Platform: Firefox OS 2.1 (Flame) Reproducible: 85% (I only managed to play one video, after a long wait)
STR: open http://video.gazzetta.it/thohir-45-auguri-inter/17c684ce-06b4-11e5-85ca-8a5f4159f071?playlistId=0edcfa4e-4880-11e3-8a15-71b85a9db673 The video doesn't play, there is no button to tap for it to start playing either Even if you manage to play one video, it's pretty difficult to let another video among the suggested ones start too
It works on iOS as expected, someone should test on Firefox for Android too, because I had difficulties even there, but maybe it's just my setup