Change default html 5 player

edited May 2012 in General
How can I change the default html 5 player to this player. http://www.hdwebplayer.com/

Comments

  • I'm assuming you're talking about the player on the mobile site. If so, open the file:

    /cc-content/themes/{YOUR_MOBILE_THEME}/play.tpl

    And replace the DIV:

    <div class="video-js-box"> (and all it's content)

    With the code for the "HDWebPlayer". They have a simple walk-through here:

    http://www.hdwebplayer.com/?q=standalone-add-to-your-own-page

    You can also remove the 'AddCss' and 'AddJs' lines at the top of the file since you're not going to be using the "VideoJS" player.

    Make sure you do NOT edit the default mobile theme. Any changes made to this theme will be lost during system update. Instead copy and rename the mobile theme folder, and enable your new mobile theme in the admin panel. Also make sure you update the theme name in the theme.xml file before you enable the theme.
This discussion has been closed.