Meta URL link to posts with embedded videos instead of Vimeo (6 posts)

  1. Joy
    Posted 3 years ago #

    Tubepress is a great plugin, but I want the URL thumbnail meta to link to the post with the same embedded video on my site and not to Vimeo.
    Is there a way to redirect the link in the shortcode or in the Vimeo player file?


  2. Eric
    Plugin Author

    Posted 3 years ago #

    I believe this feature request is what you're after? If so, please "star" the issue to vote for it and track updates. Features with the most votes will be implemented first.

  3. Joy
    Posted 3 years ago #

    I did see this—#6 "To get this working I have just hacked the code in the YouTube player. I replaced the YouTube URL with http://www.mydomain.com/Page_name_of_video_gallery/?tubepress_video=

    So now I just use the playerlocation="youtube" to get it to link to my site. It works well."

    Sorry, I’m new at this and jumped at the chance to learn. I want the URL meta to link to the post that features each individual video.

    I tried to find the file but wasn’t sure where to find it. tubepress>src>main>web>players>vimeo>vimeo.js ?

    (function(){var a=function(h,d,b,c,g,f){if(d!=="vimeo"){return}window.location="http://www.vimeo.com/"+g};TubePress.Beacon.subscribe("tubepress.playerlocation.invoke",a)}());

    I replaced the domain name and page name, but it didn’t work. What do I need to do or correct?

    This is our site which is live so I haven’t included the URL meta just yet-only on a test site. http://www.hawaii.edu/news/videos-gallery/

  4. Eric
    Plugin Author

    Posted 3 years ago #

    The only way this modification will work is if you have a WordPress page associated with every single video that TubePress generates. So for instance, this video should have a page on your site such as


    Assuming that's the case, then you can simply replace www.vimeo.com/ in vimeo.js with www.hawaii.edu/videos/.

    Does that make sense? I'm sorry this isn't better documented, but as you know it's a bit of a hack until Feature 198 is implemented. Thanks!

  5. Joy
    Posted 3 years ago #

    Thank you, for your quick response. It makes sense.

    There is a post for every video as we needed to script each one for accessibility. The urls for the post have a date and then title. Example--

    I think I can figure the rest out from here, now that I know I have the right place.

    May I also suggest when you do work on Feature 198 that there is an option for the shortcode for WordPress tags. (I believe it only searches for YouTube or Vimeo tags?)


  6. Joy
    Posted 3 years ago #

    Sorry, I realized I miss read what you stated in your post--"modification will work is if you have a WordPress page associated with every single video that TubePress generates". The post were not generated by TubePress so it did not work.

    Could I ask where in the plugin files lies the information for the URL meta link and if there is a way to redirect it to instead to post that have the same embedded files?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TubePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic