• 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):

    shadowbox.js

    /*jQuery.getScript(c+"lib/shadowbox.js",function(){},true);TubePressCss.load(c+"lib/shadowbox.css");*/

    shadowbox-dev.js

    //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!

    http://wordpress.org/extend/plugins/tubepress/

Viewing 1 replies (of 1 total)
  • 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.

    Thanks,
    Joe

Viewing 1 replies (of 1 total)
  • The topic ‘Workaround for Shadowbox player location conflicting with Shadowbox JS plugin’ is closed to new replies.