Hi
According to the TubePress WordPress documentation the parameter 'youtubePlayerTheme' changes the colour theme of the video player and the valid values are "dark" or "light".
http://tubepress.com.../Config:YouTube
The example on the page is as follows: [tubepress youtubePlayerTheme="false"]
I am confused: the valid values are given as "dark" or "light" but the example is "false". I tried "dark" "light" "true" "false" but there was no change. YouTube player stayed black.
http://www.gbaerials...k/video-archive
How can I make it change to white as it is when using the YouTube parameter "theme=light" like in this page? (Example not using TubePress.)
http://sarumbear.com...-product-launch
Thank you.
youtubePlayerTheme not working? [SOLVED]
Started by Sarum Bear, Nov 27 2012 07:35 PM
4 replies to this topic
#1
Posted 27 November 2012 - 07:35 PM
#2
Posted 29 November 2012 - 01:04 PM
Hi,
I apologize for the confusion - this is definitely my fault. In anticipation of the upcoming release of TubePress 3.0.0 I've jumped the gun a little and updated the docs. The light/dark options are not built in to TubePress 2.x.x.
To get this functionality now, you can perform the following small edit. Just after this line, add the following:
I apologize for the confusion - this is definitely my fault. In anticipation of the upcoming release of TubePress 3.0.0 I've jumped the gun a little and updated the docs. The light/dark options are not built in to TubePress 2.x.x.
To get this functionality now, you can perform the following small edit. Just after this line, add the following:
$link->setQueryVariable('theme', 'light');That should do it. Let us know?
#3
Posted 29 November 2012 - 01:51 PM
That worked. Thanks to the information you gave me, I went a step more and changed the colour of the progress bar from red to white by adding the following two lines.
The result can be seen below.
http://www.gbaerials...k/video-archive
Thank you!
$link->setQueryVariable('theme', 'light'); $link->setQueryVariable('color', 'white');
The result can be seen below.
http://www.gbaerials...k/video-archive
Thank you!
#4
Posted 29 November 2012 - 11:10 PM
Looks great! And very appropriately themed for the winter :)
Let us know if you run into any other snags, and sorry again for the misinformation.
Let us know if you run into any other snags, and sorry again for the misinformation.
#5
Posted 30 November 2012 - 05:50 AM
I thank you for the support.