Workaround for Shadowbox player location conflicting with Shadowbox JS plugin (2 posts)

  1. Jeff
    Posted 3 years ago #

    I posted a relatively simple workaround in http://code.google.com/p/tubepress/issues/detail?id=167#c9 which is to edit the following two files in the wp-content/plugins/tubepress/sys/ui/static/players/shadowbox folder: shadowbox-dev.js and shadowbox.js.

    All that needs to be done is to stop the javascript and css files served by Tubepress from loading (and the page will use the Shadowbox JS plugin's files instead) by commenting out the lines that load the javascript and css files (or deleting them of course):




    //jQuery.getScript(url + 'lib/shadowbox.js', function () {}, true);
    //TubePressCss.load(url + 'lib/shadowbox.css');

    (lines 70 and 71)

    Hey presto the Shadowbox player now works in Tubepress with Shadowbox JS plugin activated!


  2. js33
    Posted 3 years ago #

    Hi Jeff,

    I commented out the lines you mentioned. I have the shadowbox JS plugin installed and it works fine on its own but it still doesn't work with Tubepress. Do I set Tubepress to now use shadowbox. I tried that and no video loaded. I can get them to play fine in a popup window. They also play with jqModal with a shadowbox effect but the videos aren't centered like they are with shadowboxJS.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TubePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic