Support » Plugin: Videojs HTML5 Player » Works most of the time

  • There is a problem with this plugin: registers the videojs script in the header. Sometimes it arises javascript error because of the videojs autoSetup function depending on the load speed.

    It can be fixed easily by registering the script in the footer:
    wp_register_script('videojs', $plugin_url . '/videojs/video.js', array('jquery'), VIDEOJS_HTML5_PLAYER_VERSION, true);

    Put a ‘true’ at the end of the registering parameter list.

    Please fix it in the next version, thx.

    However the plugin works great, thank you!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Works most of the time’ is closed to new replies.