New issue
Advanced search Search tips

Issue 676102 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

bogus user gesture error message

Reported by pdk...@gmail.com, Dec 20 2016

Issue description

Example URL:
http://www.metopera.org/Season/On-Demand/opera/?upc=811357016848

Steps to reproduce the problem:
1. Visit URL.
2. Tap ▶ button to play free sample.

What is the expected behavior?
It plays.

What went wrong?
Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture.
Uncaught (in promise) DOMException: play() can only be initiated by a user gesture.

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? N/A

Chrome version: 56.0.2924.18  Channel: beta
OS Version: M
Flash Version: 

Contents of chrome://gpu: 

Now I can be mistaken, but tapping the button is a rather explicit user gesture, I think. Enabling #disable-gesture-requirement-for-media-playback in chrome://flags makes it work.
 

Comment 1 by ppec...@gmail.com, Dec 21 2016

I have a similar problem.
It seems to be related to "mousedown" or other mouse events generated automatically by touches.

For example, if you touch a button it will generate a "touchstart", several other touch events, and also a "mousedown" event. If you attach your code only to the "mousedown" event it is WRONGLY considered not user initiated.


Cc: krav...@chromium.org
Labels: triage-te
Cc: -krav...@chromium.org mlamouri@chromium.org
Labels: -triage-te
Status: WontFix (was: Unconfirmed)
Thanks for the report. we are not seeing this issue on latest builds. Closing for now.Please reopen if it still occurs. 


Sign in to add a comment