<span class="syntaxdefault"><?php global $tubepress_base_url;$tubepress_base_url = 'http://equitrekking.com/video/tp/';include '/var/local/www/equitrekking.com/httpdocs/video/tp/sys/classes/TubePressPro.class.php';?><html> <head> <title>TubePress Pro Example in Plain PHP</title> <?php print TubePressPro::getHtmlForHead(true); ?> </head> <body> <?php print TubePressPro::getHtmlForShortcode('mode="playlist" playlistValue="BB604A85A07B197B" theme="youtube" playerLocation="popup" hqThumbs="true" resultCountCap="15"'); ?> </body></html></span>Any change?
Standalone Set Up Problem
Started by Chip ward1359656487, Apr 21 2011 07:36 PM
22 replies to this topic
#21
Posted 03 May 2011 - 06:08 PM
Strangely TubePress isn't recognizing $tubepress_base_url. Could be because ExpressionEngine is doing something with globals. Try explicitly declaring the global variable, like this:
#23
Posted 04 May 2011 - 11:09 AM
Awesome! Looks perfect. Everything look OK to you?
Thanks for your patience in working this out. I knew we'd get to the bottom of it.
Thanks for your patience in working this out. I knew we'd get to the bottom of it.
- Chris Guillou likes this