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

Ok, I give up on displaying my Vimeo VIDEO!!


  • Please log in to reply
4 replies to this topic

#1 Ryan Ryan

Ryan Ryan

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 08 January 2012 - 04:18 PM

I just bought this package and I get a default gallery no matter what I try to envoke. .

I tried invoking the code as instructed but no dice. Here is a sample of what I am trying:



I get "No matching Videos".

I tried to put in my vimeo key and private key and it displayed a large gallery of some other videos with all youtube links.

What am I missing?

Thanks

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 08 January 2012 - 05:43 PM

Hi,

Sorry that you're having trouble getting TubePress to work that way you want it to. We should be able to get you squared away quickly.

Are you able to share a link to your site so I can take a first-hand look? Your TubePress debug output should be able to pinpoint the problem. Thanks!

#3 Ryan Ryan

Ryan Ryan

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 09 January 2012 - 10:19 AM

Certainly! The page I am testing is here: http://playyourpartwell.com/test.php


It should be showing a single Vimeo Video from my stock. Here is the code:


$tubepress_base_url = "http://playyourpartwell.com/tubepress_pro_2_2_0";
include "tubepress_pro_2_2_0/sys/classes/TubePressPro.class.php";
?>






Untitled Document




TEST
vimeoSecret="< omitted >"'); ?>




Thanks!

#4 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 10 January 2012 - 12:46 AM

OK, there are a few issues that I can see.

First, we'll need to figure out why your call to getHtmlForHead() isn't actually producing any output. If you look at your HTML source, you'll see that it's currently empty around that area. Are you absolutely positive that you haven't accidentally commented out that line? The code you posted looks correct - I just want to make sure it's identical to what's running. Until we get this squared away, your gallery will look unstyled and your thumbs won't be functional.

As for the shortcode not behaving as it should, I think the problem here is that it's split up onto multiple lines. TubePress will not be able to parse a shortcode that spans more than one line (I should probably make that clear in the docs - so certainly not your fault). Please make sure that this:

<?php print TubePressPro::getHtmlForShortcode('video="34423122" vimeoKey="a540effb40753b99161b0909872ad4bd"vimeoSecret="<omitted>"'); ?>
is on just one line, e.g.

<?php print TubePressPro::getHtmlForShortcode('video="34423122" vimeoKey="a540effb40753b99161b0909872ad4bd" vimeoSecret="<omitted>"'); ?>
Let me know. Thanks!

#5 Ryan Ryan

Ryan Ryan

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 10 January 2012 - 09:25 AM

Indeed that was it. Single line did the trick! On to the search engine! Thanks for the help!!