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

Fancybox not playing when clicking on thumbnail [SOLVED]


  • Please log in to reply
4 replies to this topic

#1 rolf bron

rolf bron

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 14 May 2012 - 07:50 AM

I'm trying to get Fancybox to play my Vimeo-videoalbum (which consists of 1 video). The thumbnail's showing up, but Fancybox is not playing. I've tried Fancybox as default player in the tubepress settings to no avail, afterwards also added it to the shortcode:
[tubepress playerLocation="fancybox" mode="vimeoAlbum" vimeoAlbumValue="1936861"]
http://www.savertartworks.nl/wp/33/
Any suggestions?

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 15 May 2012 - 12:27 AM

Hi,

This is a known bug. There are two workarounds. The first is to prevent your theme from loading FancyBox on its own. Currently it's loading it from http://www.savertart...nt....4.pack.js. You'd have to dig into your theme's templates to perform this edit.

The second workaround is to do the following:

  • Open up sys/ui/static/players/fancybox/fancybox-dev.js with your favorite text editor

  • Around lines 33-34 you'll see

    jQuery.getScript(path + 'jquery.fancybox-1.3.4.js', function () {}, true);
    TubePressCss.load(path + 'jquery.fancybox-1.3.4.css');
    You'll want to comment those out so it looks like this:

    //jQuery.getScript(path + 'jquery.fancybox-1.3.4.js', function () {}, true);
    //TubePressCss.load(path + 'jquery.fancybox-1.3.4.css');
  • Swap the contents of sys/ui/static/players/fancybox/fancybox-dev.js with sys/ui/static/players/fancybox/fancybox.js
Either of those should get TubePress working for you. Please give it a try and let us know. Thanks!

#3 rolf bron

rolf bron

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 15 May 2012 - 09:07 AM

Thanks, Eric. That did the trick!
Got another question though, If I want larger thumbnails, then the text below the thumb disappears, as if it's outside the viewport.
Is thumbnail size limited to 90 x 120?
PS: Sorry, forget it, you already provided a solution:
viewtopic.php?f=19&t=1392&p=4584&hilit=thumbnails#p4590

#4 Andrew Strugnell

Andrew Strugnell

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 23 June 2012 - 08:16 PM

I too am experiencing this issue.
I am unable to play a video specifying that the YouTube videos play through Shadowbox or Fancybox either. Videos will play through Tinybox, popup and normal for example. I have taken your suggestion of changing and swapping the PHP code (as above), but still to no avail. The TubePress plugin was bought, downloaded and installed today. Can you please help me?

Andrew.

#5 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 25 June 2012 - 10:03 AM

I too am experiencing this issue.
I am unable to play a video specifying that the YouTube videos play through Shadowbox or Fancybox either. Videos will play through Tinybox, popup and normal for example. I have taken your suggestion of changing and swapping the PHP code (as above), but still to no avail.


Hi Andrew,

Could you share a link to your gallery so I could take a first-hand look? Sounds like there's a JavaScript problem somewhere, but it should be relatively easy for me diagnose remotely. Thanks!