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

Trouble with base install and Vimeo/Fancybox


  • Please log in to reply
6 replies to this topic

#1 Lee Hinton

Lee Hinton

    Member

  • Members
  • PipPip
  • 11 posts

Posted 22 June 2011 - 11:55 PM

My end goal is incorporating this on a Drupal page with Vimeo launched with FancyBox. In this scenario, I have everything displaying correctly but videos don't play and pagination doesn't work. So I started to disassemble and remove variables to troubleshoot. Spent most of the afternoon and evening with no joy.

At this point, I've stripped out everything, down to a base install (removing the fancybox shortcode as well) and pagination works, but videos aren't playing. There don't appear to be any errors in the debug.

The site is http://four.toincite.com/media.php

Am I missing something? Any help would be greatly appreciated!

Thanks!
Lee

PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php $tubepress_base_url = "http://four.toincite.com/sites/all/themes/four/includes/vimeo";
	  include "/var/www/vhosts/four.toincite.com/httpdocs/sites/all/themes/four/includes/vimeo/sys/classes/TubePressPro.class.php";?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
  <link rel="stylesheet" href="sites/all/themes/four/includes/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
  <?php print TubePressPro::getHtmlForHead(true); ?>
<!--  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> -->
  <script type="text/javascript" src="sites/all/themes/four/includes/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
</head>
<body>
<?php print TubePressPro::getHtmlForShortcode('mode="vimeoUploadedBy" vimeoUploadedByValue="fourwindschurch" vimeoKey="ed23f322fc24c94b842cd25db109274d" vimeoSecret="omitted" orderBy="newest" ajaxPagination="true" hqThumbs="true" thumbHeight="45" thumbWidth="60" category="true" views="false" tags="true" description="true" resultsPerPage="5" paginationAbove="false"'); ?>
</body>
</html>


#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 23 June 2011 - 07:13 PM

Hi Lee,

Are you still having trouble getting your videos to play? I checked out http://four.toincite.com/media.php and everything seems to be working normally for me. Let me know and I'll be happy to help troubleshoot. Thanks.

#3 Lee Hinton

Lee Hinton

    Member

  • Members
  • PipPip
  • 11 posts

Posted 27 June 2011 - 06:06 PM

Hi Eric, it's weird the next morning it started working fine. Thanks.

I've enabled the fancybox shortcode, can you take a look now? Doesn't seem to be launching. The only code change from above was adding
playerLocation="fancybox"

Thanks again,
Lee

#4 Lee Hinton

Lee Hinton

    Member

  • Members
  • PipPip
  • 11 posts

Posted 27 June 2011 - 06:24 PM

it was permissions issue in apache on the fancybox folder. I'll let you know if I still have issues after incorporating into the drupal site.

Thanks!
Lee

#5 Lee Hinton

Lee Hinton

    Member

  • Members
  • PipPip
  • 11 posts

Posted 28 June 2011 - 01:33 AM

Ok, I was wrong. Eric, can you take a look? I've been banging my head over this. I've tried everything. Please help.
http://four.toincite.com/media.php

#6 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 30 June 2011 - 09:58 AM

I think I finally see the issue. It appears that you're including FancyBox 1.3.4 on your own, instead of using the one bundled with TubePress Pro. Try removing the (presumably hardcoded) references to FancyBox in your HTML head. TubePress should be smart enough to load FancyBox on its own.

Does that make sense? Feel free to post the contents of media.php if you'd like me to assist.

#7 Lee Hinton

Lee Hinton

    Member

  • Members
  • PipPip
  • 11 posts

Posted 03 July 2011 - 11:30 AM

Thanks Eric! That was the issue. I assumed that it needed to be included. Appreciate your help.