• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Changing YouTube theme to suit your forum style

mrGTB

Well-known member
#1
By default the YouTube BBCode used produces a "Black" default video player. If you don't like the black theme it can be changed like - they tell you here.

Default XenForo YouTube code (black player)

<iframe width="500" height="300" class="video_border" src="http://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0" allowfullscreen></iframe>
Light/Red Player (red code added)

<iframe width="500" height="300" class="video_border" src="http://www.youtube.com/embed/{$id}?theme=light&amp;color=red&amp;wmode=opaque" frameborder="0" allowfullscreen></iframe>
youtube-themes-1.png

Light/White player (desaturated) (red code added)

<iframe width="500" height="300" class="video_border" src="http://www.youtube.com/embed/{$id}?theme=light&amp;color=white&amp;wmode=opaque" frameborder="0" allowfullscreen></iframe>
youtube-themes.png