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

Embed Vimeo Key & Secret in PHP backend


  • Please log in to reply
2 replies to this topic

#1 < no first name > Mandli Communications

< no first name > Mandli Communications

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 08 December 2010 - 12:37 PM

Sorry if this has been answered already, but...

Can I embed my Vimeo Key & Secret into the VimeoUrlBuilder.class.php in the /impl directory, similar to the temporary solution you had posted when Vimeo made this change?

Thanks Eric for your assistance!

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 09 December 2010 - 12:40 AM

Sure. Are you using TubePress Pro in a standalone PHP environment? If so, I can understand why you'd want to do this as it would be tedious to repeat yourself for every gallery. I'm brainstorming a solution to that.

If you're editing this file, https://github.com/e...lo....class.php, you'll want to hardcode the values in at lines 161 and 180.

#3 < no first name > Mandli Communications

< no first name > Mandli Communications

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 09 December 2010 - 09:48 AM

Yep, I'm using the standalone PHP gallery - and I have multiple galleries plus many single embeds across the site, so while putting the key into the embed code isn't bad, it'd just be a bit easier to do in the gallery code. Thanks!