I couldn’t figure out why on one site video.js was working fine and on my other site it wasn’t working, was giving error in console. Luckily, I noticed that on first site I’m using previous version of video.js v4.12.6 but on new site, plugin for video.js was upgraded and uses v5.
This is the plugin:
Older version 1.0.4 has older video.js, it works with BB.
Current version 1.0.6 has latest video.js, it’s broken.
Check SVN for older versions of the plugin.
Can you verify and confirm this?
I’ll share 2 pages with videos in the next private post since both sites are not yet live.
Both works fine on my local dev environment(I only have BB and that plugin running). The error seems to be a JS conflict. Have you tried disabling all other plugins? Also, have you tried using our Video module for this?
If you check the source code of the broken example, you’ll noticed BB is the only active plugin.
I’m not using video module because I don’t want built-in video player, I prefer videojs.
BUT, I found the problem. Might not be related to BB. For some reason, Comodo’s SSL trust seal JS is breaking the videojs player. I’m posting this just in case anyone ever has this issue.
This code that goes into head, breaks videojs:
var tlJsHost = ((window.location.protocol == "https:") ? "https://secure.comodo.com/" : "http://www.trustlogo.com/");
Glad you figured it out! I did check the broken link again and it’s working. Enjoy!