sampotts/plyr
View on GitHubThe cdn version of Vimeo's player.js is not appropriate for a <script> tag on a require.js-using site
Open
#420 opened on Nov 10, 2016
Help Wanted
Repository metrics
- Stars
- (25,318 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
- Issue does not already exist
- Issue observed on https://plyr.io
Expected behaviour
Vimeo videos should play correctly
Actual behaviour
A Mismatched Anonymous Define Modules error fires. More info on that error: http://requirejs.org/docs/errors.html#mismatch
Basically, the UMD in player.js is simply not necessary for embedding via a script tag.
Environment
- Browser: Chrome
- Version: 54
- Operating System: OSX
- Version: 10.11.16
Steps to reproduce
- Use Plyr.js on a site which uses require.js and load a Vimeo video.