TubePress Pro in standalone PHP plays only first video. There is my example
http://slaviccenter....ss...ne_php.php
shortcode:
"resultsPerPage='4' mode='playlist' playlistValue='FF6E64865BE048FD' playerLocation='normal' ajaxPagination='true'"
please help, maybe i do something wrong.
thanks
TubePress Pro in standalone PHP doesn't work
Started by Andrey Deshkin, Jan 17 2012 05:26 PM
4 replies to this topic
#1
Posted 17 January 2012 - 05:26 PM
#2
Posted 17 January 2012 - 08:43 PM
Hi,
I think the issue here is that all of your PHP pages are being prefixed with some text garbage - much of it starts with "vti_". Screenshot: http://i.imgur.com/3nvYF.png. This is confusing TubePress and thus your videos aren't playing correctly. Do you have any idea of what might be causing this garbage to be output with the pages?
I think the issue here is that all of your PHP pages are being prefixed with some text garbage - much of it starts with "vti_". Screenshot: http://i.imgur.com/3nvYF.png. This is confusing TubePress and thus your videos aren't playing correctly. Do you have any idea of what might be causing this garbage to be output with the pages?
#3
Posted 18 January 2012 - 02:52 AM
Thanks,
vti_ prefix is product of Microsoft Share Point Designer. I deleted whole folder and the tubepress folder uploaded with ftp manager. It looks better but still doesn't work.
There is new link:
http://slaviccenter..../e...ne_php.php
Do you have any other thoughts?
vti_ prefix is product of Microsoft Share Point Designer. I deleted whole folder and the tubepress folder uploaded with ftp manager. It looks better but still doesn't work.
There is new link:
http://slaviccenter..../e...ne_php.php
Do you have any other thoughts?
#4
Posted 18 January 2012 - 12:44 PM
The issue now is that you have $tubepress_base_url set to "www.slaviccenter.org ...." but are viewing the page of "slaviccenter.org". This is the same origin policy in effect. Notice that if you visit http://www.slaviccen..._p...ne_php.php (note the www) then everything works normally. So you'll need to
- Decide whether you want http://www.slaviccenter.org or slaviccenter.org to be your "primary" domain.
- Make sure that $tubepress_base_url is set to your primary domain.
- For the non-primary domain, configure your server to send an HTTP 301 to your primary domain (e.g. have slaviccenter.org send a redirect to http://www.slaviccenter.org
#5
Posted 19 January 2012 - 05:20 AM