0

I'm not sure how to integrate videojs module with video-js libraries because at the moment I am using the code for video-js to open the swf player in my drupal page which works fine. However I can't get it to play FLV type video and that is because apparently I need flowplayer as fallback from html5.

My question is where should I place the flowplayer folder in conjunction with the rest? Should it go in sites/all/libraries and then I create a content type with field to use videojs module?

Why do I even need videojs module if you can just place video-js javascript code and html code in body of node?

1

As the project page says

enter image description here

If you are using latest videojs module i.e 7.x-2.3 with 3.x video.js version it comes with Flash fallback. Video.js library will handle the flash fallback option. You don't need to install swf tools or flowplayer API. You don't need to place flowplayer folder inside libraries folder.

If you would like to use flow player API you might need to use 7.x-1.x version of video.js module. As long as you follow installation instructions here you are good to go with 7.x-3.x version of module. Make sure you use right library of video.js version vs Module version as shown above and follow instructions in Readme file.

  • How do I then get it to play FLV ? The documentation says it should but many people have reported no luck with it. In fact I can't find anywhere to show it working with flv. – cea Feb 17 '14 at 7:09
  • Found discussion regarding same here.. drupal.org/node/2079567 – Anil Sagar Feb 17 '14 at 8:26
  • I'm afraid this doesn't answer my question. If as you say video.js handles fallback then why would I need that to play flv? I just can't get the code right. – cea Feb 17 '14 at 8:29
  • Just got it to work by getting code correct following my own logic but your answer is drupal related and is correct. – cea Feb 17 '14 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.