Embedded video player blocked in Chrome

embeddedtweet
video

#1

I’ve found that in Chrome 66 (macOS), the embedded video player is blocked from playing when the user clicks the Play button. You can make it play if you click two more times.

The console logs an error when you click the Play button:

Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

Stack trace came from this script:

https://abs.twimg.com/web-video-player/37db824dca7fa03c1aff2e9823f929881ae25063/js/build.min.js

Here is an embed code that demonstrates the bug:

<blockquote class="twitter-tweet">
  <a href="https://twitter.com/Cmdr_Hadfield/status/988788282396835842"></a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js"></script>

#2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.


#3

#4

Hi @chrisatpolar. We recently fixed this for Chrome 66. Can confirm that it is no longer an issue? Thanks!


#5

It now appears to work fine, thanks.