New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 710299 link

Starred by 3 users

Issue metadata

Status: WontFix
Merged: issue 701060
Owner:
Last visit > 30 days ago
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

[Forum] - Videos played using phaser.js dont play on Android

Project Member Reported by jainabhi...@chromium.org, Apr 11 2017

Issue description

Chrome Version: M56+
OS: Android

What steps will reproduce the problem?
(1) Visit following websites
(2) https://phaser.io/examples/v2/video/change-source
(3) http://codepen.io/AnnaLiu/pen/EWJNPa?editors=1010

What is the expected result?
Video should play. Video works on CROS but not on Android

What happens instead?
MP4 Videos played using phaser.js dont play on Android

 
Cc: amineer@chromium.org
Labels: -Pri-1 Pri-2
Tested on device
1. Nexus 7 - Android 5.1.1
2. Nexus 9 - Android 7.0
3. Nexus 10 - Android 5.1.1
4. Pixel - Android 7.1.1 - Chrome 57

Comment 2 by junov@chromium.org, Apr 11 2017

Mergedinto: 701060
Status: Duplicate (was: Untriaged)
Cc: junov@chromium.org
Status: Untriaged (was: Duplicate)
Hello Justin,

 Bug 701060  is marked fixed but I can still reproduce this issue on Canary.
Has fix landed in Canary ?

Unduping this bug from 701060 for further review.

Thanks
Components: -Blink>Canvas -Blink>Media>Video Internals>Media Blink>WebGL
Owner: kbr@chromium.org
Status: Assigned (was: Untriaged)
Assigning based on related bug, so that we have good information on the current status. Reassign if necessary.
Hello Guys,

No comments on this since 09th of May. Has this been fixed?

Your reply is highly appreciated.

Thanks.

Comment 6 by junov@chromium.org, Jun 8 2017

Status: WontFix (was: Assigned)
I don't think there is a bug with the browser here. Video playback is locked on android. To unlock it, plyback has to be initiated in response to a user gesture.  Phaser.js has an API for dealing with this: addTouchLockCallback

The examples listed in the bug description are not using addTouchLockCallback. Try using it. 

For now, I am closing this issue. If you still can't get video to work after using addTouchLockCallback, let us know, and we'll take another look.

Comment 7 by kbr@chromium.org, Jun 8 2017

Cc: kbr@chromium.org
Owner: junov@chromium.org
Thanks for triaging this for me Justin. Let me give you the credit for it.

Comment 8 by sp056...@gmail.com, Jun 9 2017

HI.

I try this API with : addTouchLockCallback.
This link is my example.
https://codepen.io/AnnaLiu/pen/EWJNPa?editors=0011

Please watch it on the Android phone.
I try it on Chrome58.59.60.
All of browsers can't autoplay or be touch play.
Can you take a look?

Thank you.

Comment 9 by junov@chromium.org, Jun 9 2017

That example is crashing in Javascript with the console message: 
"Uncaught TypeError: videodemo.addTouchLockCallback is not a function"

Here is how it works:
https://codepen.io/junov/pen/RgrxOB

I tested it. The video plays on touch.

Comment 10 by sp056...@gmail.com, Jun 13 2017

Thanks, I tested it and the video plays on touch.

Sorry, it's my fault.
I look for the console message form the bottom button 'console', so I didn't find the error message form chrome console message.

The other mistaken is I compressed the javascript code, so the video cannot be played.

Thanks for your help.

Sign in to add a comment