Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Videos Not Loading from Thumbnail Click


  • Please log in to reply
2 replies to this topic

#1 Rick Stutz

Rick Stutz

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 10 November 2011 - 11:32 AM

Whenever you click on one of the thumbnails, the video doesn't load. I tried to simplify the page as much as possible so there was no other code screwing it up:

http://www.juniata.e...sion/china.html

All of the javascript seems to load fine, but when I click on a thumbnail Firebug is popping up a GET error:

Params
tubepress_shortcode %5Btubepress%20mode%3D%22playlist%22%2C%20playlistValue%3D%220B7A9C718F6A0861%22%2C%20galleryId%3D%221522319609%22%5D
tubepress_video S6WvDHGGNF8

RequestHeaders
Accept application/json, text/javascript, */*; q=0.01

Response
(none)

Ideas?

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 11 November 2011 - 08:47 PM

Hi,

The cause of this issue is JavaScript adhering to the same origin policy. In your case, the page is loaded via HTTPS, but TubePress is making Ajax calls over HTTP.

The solution is to go entirely HTTP or entirely HTTPS. There's been some discussion lately in the forum here on how to run TubePress in a full HTTPS environment, but if you can avoid it, I would go with just HTTP.

What do you think?

Cheers from a born-and-raised Pennsylvanian :)

#3 Rick Stutz

Rick Stutz

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 15 November 2011 - 09:04 AM

That worked perfectly. Thanks so much!

And cheers!