Template:YoutubePlayer/doc

From Fish Wrangler
Jump to navigation Jump to search

How to use[edit]

{{YoutubePlayer
|Top = (#px, how far down the music player is on the page from other things, example: 108px)
|PlaylistURL = (NOTE: playlist does loop (play over and over) - part of URL for the playlist that's after http://www.youtube.com/, usually p/RANDOMCODE, found by adding a video to a playlist, going to your videos, then to playlists, clicking share, then embed, then copying the code after http://www.youtube.com/ and before ?version=3)
|VideoURL = (NOTE: music does not loop (play over and over) - part of the URL for the video that's after http://www.youtube.com/, usually embed/RANDOMCODE, found by going to a video, clicking share, then embed, then copying the code after src="http://www.youtube.com/ and before the " after the URL)
|Autoplay = (0 or 1, 0=Doesn't Autoplay, 1=Autoplay, defaults to 0)
|Hide = (0 or 1, 0=Visible, 1=Hidden, defaults to 0)
}}

How to hide[edit]

Add the following code in your CSS page for the skin you are using - here for Wikia and here for Monobook, or here for all skins.

.YTMP { display: none !important; }