Workaround for Shadowbox player location conflicting with Shadowbox JS plugin
-
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
andshadowbox.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!
- The topic ‘Workaround for Shadowbox player location conflicting with Shadowbox JS plugin’ is closed to new replies.