
內容簡介
這個外掛會使用 Google API 從給定的公開 Youtube 播放清單 ID 載入影片列表。開始使用方法:1)點擊描述左側的「啟用」連結,2)創建你的 Google API 金鑰,3)前往 https://www.youtube.com/ 頁面,並選擇任何想在網站側邊欄顯示的公開播放清單,儲存到小工具配置框。
WordPress Youtube Playlist Widget 的主要功能包括:
在配置儲存到小工具框後,會自動載入基於公開 Youtube 播放清單 ID 的影片列表。
當使用者點擊特定的影片鏈接時,他們不需要離開你的網站觀看影片,而是可以在 JQuery 對話框中觀看影片。
安裝此外掛後,您可以在同一頁面上的多個位置上多次使用小工具,使用不同的 Youtube 播放清單 ID 顯示不同的 Youtube 影片。
注意:安裝此外掛後,您需要生成自己的 Google API 金鑰才能載入 Youtube 播放清單影片。
版本 2.0 的新功能
為外掛添加了短代碼功能,這樣使用者就可以在任何頁面/文章上載入播放清單小工具
使用方法:[youtube-playlist api_key="你的 Google API 金鑰" playlist_id="公開 Youtube 播放清單 ID" show_max="5" layout="h"],這裡「h」代表水平佈局,youtube-playlist 是此外掛的短代碼
外掛標籤
開發者團隊
② 後台搜尋「WordPress Youtube Playlist Widget」→ 直接安裝(推薦)
原文外掛簡介
This plugin loads the list of videos from a given plublic youtube playlist ID using google API. To get started: 1) Click the “Activate” link to the left of this description, 2) Create your Google API key, and 3) Go to https://www.youtube.com/ page, and get any public playlist that you like to show on the website sidebar and save to the widget configuration box.
Major features in WordPress Youtube Playlist Widget include:
Automatically loads the list of videos based on the public Youtube Playlist ID once the configuration is stored into the widget box.
When a particular video link is clicked by the user, they don’t have to leave your website to watch the video, instead this plugin allows them to watch the video in a JQuery dialog box.
After installing this plugin you can use the widget multiple times on multiple locations within the same page for showing different set of youtube videos by using different Youtube Playlist ID’s.
PS: After installing this plugin you would require to generate your own Google API Key to load the youtube playlist videos.
Whats’s new in version 2.0
Add shortcode capability for the plugin, so that users can load playlist widget on any page / post
USAGE: [youtube-playlist api_key=”{your google API key}” playlist_id=”{public youtube playlist ID}” show_max=”5″ layout=”h”], here “h” is for horizontal layout, youtube-playlist is the shortcode for this plugin
