seanbehan / videojs_rails

Video JS for Rails 3.1 Asset Pipeline
91 stars 71 forks source link

how to install videojs-youtube plugin correctly? #38

Open craigstar opened 8 years ago

craigstar commented 8 years ago
  1. I downloaded Youtube.js into app/assets/javascripts folder.
  2. 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??

grzlus commented 8 years ago

It's probably problem with version of VideoJS. Use older videojs-youtube library. I'll try ASAP update versions here.

andreas-venturini commented 8 years ago

Same for videojs-vimeo

hamzaaltaf commented 4 years ago

have you guys found the solution?