How to Embed a YouTube Playlist in WordPress (4 options)
Now I'll show you how to customize the way in which the playlist appears on your site.
Here is a list of URL parameters you can add to the end of the <iframe>
src
attribute, and what they do:
allowfullscreen
– This is not a URL parameter, but you remove this attribute from the<iframe>
to disable fullscreen modecontrols=0
– Hides the player controls (play/pause, volume, captions, settings, fullscreen, etc.) at the bottomshowinfo=0
– Hides the playlist title & sharing options at the top
NOTE: This kind of defeats the purpose of embedding a playlist, because it removes the option to open the playlist up and view all videos.autoplay=1
– Starts playing the 1st video in the playlist automatically, when the page loadsloop=1
– As soon as the last video in the playlist has ended, it will start playing at the beginning of the playlist againdisablekb=1
– Disables the keyboard controlscc_load_policy=1
– Automatically turns on captionsmodestbranding=1
– Removes the YouTube logo from the control bar- Privacy-enhanced mode – This is done by checking the "Enable privacy-enhanced mode" checkbox. The URL changes from
www.youtube.com
towww.youtube-nocookie.com
.
Read full article from How to Embed a YouTube Playlist in WordPress (4 options)
No comments:
Post a Comment