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?
Change embedded player to look like it did in 2.1.2
Started by Bruce Piper, Mar 24 2011 07:20 AM
10 replies to this topic
#1
Posted 24 March 2011 - 07:20 AM
#2
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:
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
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.
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
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.
#6
Posted 29 March 2011 - 04:15 PM
#7
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.
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
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!
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
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
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.
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
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.