Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

YouList – YouTube playlist shortcode

Mô tả

This plugin adds the shortcode [youlist] so you can easily embed YouTube™ playlist defined by

  • playlist id (PL in front of the playlist id)
  • comma seperated video ids list
  • user favorites
  • user uploads
  • search query

in a single YouTube™ player.

Live demo

New in version 1.0.6

  • show random playlists with the new attribute ‘randompid’
  • added apply_filters for output, style, class and src
  • bug fix

New in version 1.0.5

  • enable nocookies
  • enable the https protocol
  • play videos in a specific quality (fx. hd720)
  • enable wmode to handle z-index issues.

Usage Examples

To embed a playlist with thumbnails
[youlist pid=”PL3FF15AA7ED356D9F”]

To embed three videos with thumbnails (comma seperated video id list):
[youlist vid=”ZF_K8D414-Y,sFHXWoawnt0,E2uOGOqIyC4″]

To embed three videos without thumbnails:
[youlist vid=”ZF_K8D414-Y,sFHXWoawnt0,E2uOGOqIyC4″ showinfo=”0″]

To embed a playlist from the search string “higgs boson”
[youlist search=”higgs boson” width=”600″ height=”400″]

To embed a random playlist
[youlist randompid=”PL3FF15AA7ED356D9F, PL9AEE7FF9E83DEA62, PL2B8DB1BD4364033F”]

To embed a playlist for all uploaded videos for the user “mismag822″
[youlist uid=”mismag822″ listtype=”user_uploads”]

To embed a playlist for all favorite videos for the user “mismag822″
[youlist uid=”mismag822″ listtype=”user_favorites”]

To embed a playlist width your own custom style
[youlist pid=”PL3FF15AA7ED356D9F” style=”width:300px;height:400px;z-index:1;”]

To embed a user playlist with all the supported attributes (default values shown):

Ideas for how to use this plugin

  1. You can use it to display ad-video before or after the main video
  2. You can have your own short trailer before the main video
  3. You can collect lessons/tutorials/music videos
  4. You can use it for your YouTube™ playlist
  5. You can watch your friends favourites videos
  6. You can collect videos for your kid and watch it on your site
  7. … etc …

Shortcode Parameters

The youList-shortcode is a wrapper for most of the YouTube™ iframe parameters described here:

iframe parameters:

  • width [integer] – iframe width in pixels
  • height [integer] – iframe height in pixels
  • class [string] – iframe css classname
  • style [string] – iframe css custom style
  • parameters [string] – custom source parameters (&param1=value1&…)

youtube parameters:

  • pid [string] – YouTube playlist ID
  • uid [string] – YouTube user ID)
  • vid [string] – Comma seperated YouTube Videos ID list
  • randompid [string] – YouTube random playlist ID, from a comma seperated PID’s list
  • listtype [playlist|user_uploads|search] – YouTube listtype
  • search [string] – YouTube search string)
  • theme [dark|light] – Dark or light control bar
  • modestbranding [0|1] – Prevent the YouTube logo from displaying in the control bar
  • showinfo [0|1] – Display thumbnail images for the videos in the playlist
  • autohide [0|1|2] – Hide the video controls automatically after a video begins playing
  • autoplay [0|1] – The initial video will autoplay when the player loads
  • disablekb [0|1] – Disable the player keyboard controls
  • controls [0|1|2] – Display the video player controls
  • color [red|white] – The color in the video progress bar
  • fs [0|1] – Display the fullscreen button
  • rel [0|1] – Show related videos when playback of the initial video ends
  • start [integer] – Play the video at the given number of seconds from the start of the video
  • loop [0|1] – Play the entire playlist and then start again at the first video
  • iv_load_policy [1|3] – Show video annotations
  • version [2|3] – AS player version
  • https [0|1] – Enable the https protocol
  • nocookie [0|1] – No cookies thank you
  • vq [small|medium|large|hd720|hd1080] – Change video quality

Ảnh màn hình

  • YouTube playlist with thumbnails.

Cài đặt


  1. Upload the plugin directory to the /wp-content/plugins/ directory or use the installer via backend of WordPress
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Đánh giá

There are no reviews for this plugin.

Người đóng góp & Lập trình viên

“YouList – YouTube playlist shortcode” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi


  • added: random playlists, new parameter ‘randompid’
  • added: output filter with the name ‘youlist_output’
  • fixed: the ‘rel’ parameter was not active


  • added: vq parameter to change the video quality, (fx hd720) (Props cjgrasso)
  • added: https parameter to enable the secure protocol
  • added: nocookie parameter to disable cookies
  • added: wmode parameter to handle z-index issues (Props patmak)
  • added: parameters parameter for custom parameters
  • changed: updated the readme.txt with better description of the parameters


  • added: [youlist] shortcodes can now be used in text-widgets
  • added: custom iframe style attribute
  • fixed: added the missing parameters audohide and audoplay
  • changed: new usage example in the readme.txt file


  • added: new attributes: listtype, autohide, autoplay, disablekb
  • added: possibility to display user’s favorites playlist
  • changed: updated he readme.txt file with new usage examples


  • Initial Release