Issue metadata
Sign in to add a comment
|
[Forum] - Videos played using phaser.js dont play on Android |
||||||||||||||||||||||||
Issue descriptionChrome 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
,
Apr 11 2017
,
May 9 2017
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
,
May 9 2017
Assigning based on related bug, so that we have good information on the current status. Reassign if necessary.
,
Jun 8 2017
Hello Guys, No comments on this since 09th of May. Has this been fixed? Your reply is highly appreciated. Thanks.
,
Jun 8 2017
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.
,
Jun 8 2017
Thanks for triaging this for me Justin. Let me give you the credit for it.
,
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.
,
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.
,
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 |
|||||||||||||||||||||||||
Comment 1 by jainabhi...@chromium.org
, Apr 11 2017Labels: -Pri-1 Pri-2