I downloaded Youtube.js into app/assets/javascripts folder.
add //= require Youtube in app/assets/javascripts/application.js file right after //= require video
however, it keeps telling me Uncaught TypeError: videojs.getComponent is not a function unless I put a video.js in app/assets/javascripts folder. Isn't this video.js duplicated??
app/assets/javascripts
folder.//= require Youtube
inapp/assets/javascripts/application.js
file right after//= require video
however, it keeps telling me
Uncaught TypeError: videojs.getComponent is not a function
unless I put avideo.js
inapp/assets/javascripts
folder. Isn't thisvideo.js
duplicated??