mirror of
https://github.com/videojs/video.js.git
synced 2025-02-02 11:34:50 +02:00
b4ad93a10e
This PR adds a new option to treat autoplay: true the same as autoplay: 'play'. In general we want video.js to handle as much of the autoplay logic itself as possible, since the browser's treatment of the video element's autoplay attribute is less predictable. For now the default option value is false, but it may be made the default behavior in a future major version.