Search Issue Tracker
By Design
Votes
0
Found in
2018.4.0f1
2019.1.0a1
2019.1.3f1
2019.2.0a1
2019.3.0a1
Issue ID
1158859
Regression
No
Uninformative errors are thrown when video fails to auto-play because of disabled auto-play in the browser settings
How to reproduce:
1. Open the attached build with a browser which does not allow video auto-play
2. Inspect the Developers console
Expected results: Error says something like "play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD"
Actual results: Error says "Uncaught (in promise) DOMException"
Reproducible with: 2018.4.2f1, 2019.1.5f1, 2019.2.0b5, 2019.3.0a5
Couldn't test with 2017.4 because of project errors after the downgrade
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (2019.3.X):
Firefox prints out:
Autoplay is only allowed when approved by the user, the site is activated by the user, or media is muted.
NotAllowedError: The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
In scenarios where error message or behavior is uninformative, it is recommended to check against multiple browsers in case some other browser might give better info.