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

Change embedded player to look like it did in 2.1.2


  • Please log in to reply
10 replies to this topic

#1 Bruce Piper

Bruce Piper

    Member

  • TubePress Pro
  • PipPip
  • 21 posts

Posted 24 March 2011 - 07:20 AM

I recently upgraded Tubepress to 2.2.0 the embedded player no longer has the thumbnails horizontally across the bottom of the video as it did in the previous version. Is there a setting to turn this back on?

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 25 March 2011 - 05:33 PM

I took this feature out from 2.2.0 because I couldn't seem to get that "genie bar" to show itself in any of my testing, so I figured it was abandoned with the new YouTube embed code (iframe style). Apparently I'm completely wrong!

To restore it immediately, you can just add the following line around here:

$link->setQueryVariable('egm', 1);
I've also filed an issue so this feature makes its way back into the mainstream. Please star the issue to vote for it and track updates. Sorry for the inconvenience, and please let us know how the workaround works out for you. Thanks.

#3 Bruce Piper

Bruce Piper

    Member

  • TubePress Pro
  • PipPip
  • 21 posts

Posted 27 March 2011 - 07:00 AM

Hi I added the line to
AbstractYouTubeEmbeddedStrategy.class.php
Like this

$link->setQueryVariable('fs', org_tubepress_impl_embedded_EmbeddedPlayerUtils::booleanToOneOrZero($fullscreen));
$link->setQueryVariable('showinfo', org_tubepress_impl_embedded_EmbeddedPlayerUtils::booleanToOneOrZero($showInfo));
$link->setQueryVariable('egm', 1);

but it does not seem to make a difference, unless I have done something wrong here.

#4 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 27 March 2011 - 11:16 PM

Hmm that looks right to me. Do you have a link to your site you could share so I could take a look at the HTML source? Feel free to PM me if you don't want to share it with the world.

#5 Bruce Piper

Bruce Piper

    Member

  • TubePress Pro
  • PipPip
  • 21 posts

Posted 28 March 2011 - 07:09 AM

http://new.traveldaily.com/videos

#6 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 29 March 2011 - 04:15 PM

http://new.traveldaily.com/videos

Is that the correct URL? I can't seem to access it...

#7 Anonymous

Anonymous

    Advanced Member

  • Members
  • PipPipPip
  • 81 posts

Posted 30 March 2011 - 05:58 AM

Sorry, it should be new.traveldaily.com.au/videos

Also on new.traveldaily.com.au there appears to be a bit of extra space around the embedded player at the top of the screen, which wasn't there in 2.1.2 I think.

#8 Bruce Piper

Bruce Piper

    Member

  • TubePress Pro
  • PipPip
  • 21 posts

Posted 30 March 2011 - 06:08 AM

Sorry, it should be http://new.traveldaily.com.au/videos

Also on the front page http://new.traveldaily.com.au there appears to be a bit of extra space around the embedded player at the top of the screen, which wasn't there in 2.1.2 I think.

Please help!

#9 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 01 April 2011 - 12:00 PM

Looks like you downgraded back to 2.1.2? Before you did so, I noticed that the code change you made in 2.2.0 did indeed cause "egm=1" to be added to your iframe's code. This should have brought back the genie menu, but as I'm sure you saw it didn't. What's weird is that I can find no mention of the embedded genie menu with the iframe-style embedded code. I'll keep investigating and post back here what I find.

#10 Bruce Piper

Bruce Piper

    Member

  • TubePress Pro
  • PipPip
  • 21 posts

Posted 22 April 2011 - 06:02 AM

Thanks Eric. Yes as you saw we downgraded to 2.1.2.
But now 2.2 looks great and maybe we can do without the embedded genie menu.

A quick question - Is it possible to restrict the search to a particular user's videos? i.e. we have several hundred of our own videos on Youtube but would like people to be able to just search in those ones rather than right across YouTube.

#11 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 22 April 2011 - 03:49 PM

Is it possible to restrict the search to a particular user's videos?


Indeed it is! This feature was quietly introduced in version 2.2.0. You can set it globally in WordPress from WP Admin > Settings > TubePress > Provider Feed. Or you can use the searchResultsRestrictedToUser shortcode. Let me know if you have any trouble using that option. Thanks.