possible bug with video.js v5

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:
https://wordpress.org/plugins/videojs-html5-player/

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.

[Content Hidden]

Hey Viktor,

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?

Ben

Hey Ben,

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:

<script type="text/javascript">//<![CDATA[
var tlJsHost = ((window.location.protocol == "https:") ? "https://secure.comodo.com/" : "http://www.trustlogo.com/");
document.write(unescape("%3Cscript src='" + tlJsHost + "trustlogo/javascript/trustlogo.js' type='text/javascript'%3E%3C/script%3E"));
//]]>
</script>

Thanks guys.

Hey Viktor,

Glad you figured it out! I did check the broken link again and it’s working. Enjoy! :slight_smile:

Ben