HTML5 video looping is broken (both when using loop attribute and manual looping via callback functions)
Reported by
reinis.a...@gmail.com,
Jun 28 2016
|
|||||||||
Issue descriptionTHIS TEMPLATE IS FOR FILING BUGS ON THE ANDROID SYSTEM WEBVIEW. GENERAL WEB BUGS SHOULD BE FILED USING A DIFFERENT TEMPLATE! Device name: Galaxy Note 10.1 2014 SM-P605 Android version: 5.1.1 WebView version (from system settings -> Apps -> Android System WebView): 52.0.2743.49 Application: Any WebView app (tested on different open and closed source so called Kiosk apps) Application version: 52.0.2743.49 URLs (if applicable): http://jsbin.com/fijaxin/4/edit?html,js,output http://jsbin.com/wuqexo/2/edit?html,js,output Steps to reproduce: Check the urls provided, that has looping video 1. Loop via attribute http://jsbin.com/fijaxin/4/edit?html,js,output 2. Loop via callbacks http://jsbin.com/wuqexo/2/edit?html,js,output Expected result: Video and audio should loop infinitely. Apps utilising WebView should be able to display looping HTML5 video without viideo and/or audio glitches. Actual result: Behaviour types observed: 1) first loop all fine, on second loop audio is gone, third loop never starts (both audio and video) 1) first loop all fine, starting second loop video gets jagged, audio & video out of sync till infinity This is both when MP4 and WEBM formats are used. Additional notes: Standalone browser Chrome Browser Beta 52.0.2743.49 does not have this issue. And it does not has this issue even with --enable-unified-media-pipeline set to OFF (current stable standalone browser 51.0.2704.81 has this issue and can be fixed with --enable-unified-media-pipeline flag, see my other closely related confirmed bug https://bugs.chromium.org/p/chromium/issues/detail?id=622325)
,
Jun 30 2016
passing to Tima
,
Jun 30 2016
,
Jul 1 2016
Spitzer has been enabled for WebView by https://codereview.chromium.org/2057743002/, commit https://chromium.googlesource.com/chromium/src/+/e0e5c818737bb30a4526245db6ef32d9c6a8ef5e This should mast the issue as the bug probably still exists in WMPA path. Can somebody test that Spitzer fixes it, I cannot get hold on the device?
,
Jul 1 2016
https://bugs.chromium.org/p/chromium/issues/detail?id=622325 is related bug for Chrome
,
Jul 1 2016
candrada@: could you, please, assign to the right person to test?
,
Jul 2 2016
when this is pushed into Android System WebView beta apk-s, please let know. we are currently working on a project that uses "webview via android app", the whole project depends on the ability to play & loop html5 videos (thus this bugreport). plus, we are using both "plain" audio for the video as well as using audio context to manipulate the audio of the video, channel gains/merging/panning a.o. we will happily put it under rigorous field test if possible.
,
Jul 18 2016
,
Aug 8 2016
Device -SMP605/KOT49H/53.0.2785.49(Chrome Beta)/52.0.2743.91(Chrome stable) Test url -http://jsbin.com/fijaxin/4/edit?html,js,output Scenario 1: Enable the flag -"Disable the unified media pipeline on Android" -> Video is playing Scenario 2: Disable the flag -"Disable the unified media pipeline on Android" -> Video is not playing logs @http://go/chrome-androidlogs1/6/623943
,
Aug 8 2016
kravula@: please confirm that you see the issue in Chrome (i.e. not only WebView).
,
Aug 8 2016
I tested in chrome
,
Aug 8 2016
,
Aug 8 2016
M52 is default on for Chrome in M52, we're at 45% roll out right now, but will be at 100% in the next week or so. Thus for Chrome this should be resolved, WebView issues I'm not sure about.
,
Aug 8 2016
I've been surprised by #9, I read it as it works when Spitzer is disabled. And it mentions Chrome 53.0.2785.49 that should be 100% Spitzer? Maybe I miss something.
,
Aug 8 2016
Okay this is confusing, c#0 is about WebView only, c#9 is reporting things which c#0 explicitly says are not true, and issue 622325 tracks a similar problem that is now fixed. timav@ can you get this device and see what the actual issue is?
,
Aug 8 2016
I could not get the right device on the first round, but I'll try again.
,
Aug 10 2016
Got the same device as in comment #9 (SMP605/KOT49H/53.0.2785.49(Chrome Beta)). The test http://jsbin.com/fijaxin/4/edit?output played for me in Chrome for both enabled and disabled Spitzer. On this device the jsbin.com site displays check box "Auto-run JS", video played for me only of this box was checked. Then you need to tap the video, and it played. For non-Spitzer pipeline it seems you need to tap once to have the black screen appear, since there is no preview, and then tap again, and the video played. It does not seem to me as a problem.
,
Aug 10 2016
,
Aug 10 2016
Seems like WontFix to me then.
,
Aug 10 2016
The original report was on WebView. However, I cannot install a recent system webview on this user KitKat device because it requires API 21 (Lollipop) and I cannot flush this device either. WontFix.
,
Aug 15 2016
OP here. I can confirm that video is looping after installing newest WebView beta (SM-P605, 53.0.2785.57) and issues described in the report do not manifest any more. Video loops, audio loops, both in sync, no glitches. Tested with MP4. |
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by reinis.a...@gmail.com
, Jun 28 2016