這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

MyTube PlayList

外掛說明

Displays awesome YouTube Videos in your posts, pages, and widgets. YouTube Embed plugin is an convenient tool for adding video to your website. Create your own playlist on MyTube PlayList using channel id and also video id. You can apply your style like font-color, font-size, view-count background color and font color, border color, pagination color, etc.

  • Light weight Plugin for displaying your PlayList Video
  • Responsive design
  • Using Shortcode display data in POST, PAGE, Widget, and also in your php file.
  • Override facilty

Override Method

  • To override MyTube plugin, Copy “mytube override” folder from mytube plugin folder and Paste it your theme folder and then change on it with your requirement.

Short Code List

  1. [mytube] //get default videos based on youtube playlist id from backend global settings.
  2. [mytube playlistid=”xxxxxxxxxx”] //get videos from selected youtube playlist id.
  3. [mytube playlistid=”xxxxxxxxxx” maxrecord=”3″] //get maximum 3( here 1 to 50) videos from selected youtube playlist id.
  4. [mytube playlistid=”xxxxxxxxxx” maxrecord=”3″ columns=”3″] //get maximum 3( here 1 to 50) videos from selected youtube playlist id and displayed with 3( here 2 or 3 or 4 only) columns.
  5. [mytube playlistid=”xxxxxxxxxx” latestvideos=”3″] //get latest 3( here 1 to 50) videos from selected youtube playlist id. latestvideos will work with only playlistid.
  6. [mytube channelid=”xxxxxxxxxx”] // get playlist from channel id
  7. [mytube channelid=”xxxxxxxxxx” pageid=”001″] // get playlist from channel id and set playlist video display page id using pageid.
  8. [myvimeo] //get vimeo videos based on vimeo channel id from backend global settings
  9. [myvimeo channelid=”xxxxxxxxx”] //set channel id and get videos
  10. [myvimeo channelid=”xxxxxxxxx” columns=”3″] //set channel id and 3( here 2 or 3 or 4 only) columns.

Features

  • Light weight Plugin for displaying your PlayList Video
  • Responsive design
  • Using Shortcode display data in POST, PAGE, Widget, and also in your php file.
  • Override facilty

Example

  1. Using Page or Post ::
    a. [mytube playlistid=”PLOJrc9IhPiwUWT8hH1Kjn-WEnDg3zfu-A”]
    b. [mytube playlistid=”PLOJrc9IhPiwUWT8hH1Kjn-WEnDg3zfu-A” maxrecord=”3″] // maxrecord is optional, default is 18, you can set 1 to 50
    c. [mytube playlistid=”PLOJrc9IhPiwUWT8hH1Kjn-WEnDg3zfu-A” maxrecord=”3″ columns=”4″] // columns is optional, default is 3, you can set 2, 3 and 4.

  2. Using do_shortcode ::
    a. echo do_shortcode(‘[mytube playlistid=”PLOJrc9IhPiwUWT8hH1Kjn-WEnDg3zfu-A”]’);
    b. echo do_shortcode(‘[mytube playlistid=”PLOJrc9IhPiwUWT8hH1Kjn-WEnDg3zfu-A” maxrecord=”3″]’); // maxrecord is optional, default is 18, you can set 1 to 50
    c. echo do_shortcode(‘[mytube playlistid=”PLOJrc9IhPiwUWT8hH1Kjn-WEnDg3zfu-A” maxrecord=”3″ columns=”4″]’); // columns is optional, default is 3, you can set 2, 3 and 4.

  3. Using Widget ::
    You can use this shortcode in your Widget text field, But you have permission to use shortcode on Widget if you have not, please add ” add_filter(‘widget_text’, ‘do_shortcode’); ” into functions.php of your theme. and then do same like step 1.

螢幕擷圖

  • This screen shot description corresponds to Global Settings.
  • This screen shot description corresponds to Create Playlist by channel ID or video ID.
  • This screen shot description corresponds to List of Playlist created by you.
  • This screen shot description corresponds to Edit your playlist.
  • This screen shot description corresponds to user view with 2 colums.

安裝方式

Step-by-step installation documents

After downloading the plugin, you will find MyTube PlayList under Plugins.
Activate your plugin in WordPress by clicking on “Activate”.

Override MyTube plugin

To override MyTube plugin, Copy “mytube override” folder from mytube plugin folder and Paste it your theme folder and then change on it with your requirement.

Configuring Plugin

  1. After activating the MyTube PlayList plugin, you’ll notice a menu located on the Admin menu called MyTube. Click on it to open the plugin Global Settings.
  2. Enter Your Google API KEY on this text box. And if you wish to set Global Playlist Set YouTube PlayList ID on your Global Setting Page.
  3. Click on Save Changes.
  4. Use Shortcode in POST and PAGE and using do_shortcode in files for listing your PlayList.
  5. [mytube playlistid=”Enter Your PlayListID” maxrecord=”Set 0-50 for display number of record. This is optional.” columns=”Set 2,3 or 4 for display videos in a row.”]

NOTE : Click on “Restore to Default” for set all settings to default exclude Google Api Key?

Short Code List

  1. [mytube] //get default videos based on youtube playlist id from backend global settings.
  2. [mytube playlistid=”xxxxxxxxxx”] //get videos from selected youtube playlist id.
  3. [mytube playlistid=”xxxxxxxxxx” maxrecord=”3″] //get maximum 3( here 1 to 50) videos from selected youtube playlist id.
  4. [mytube playlistid=”xxxxxxxxxx” maxrecord=”3″ columns=”3″] //get maximum 3( here 1 to 50) videos from selected youtube playlist id and displayed with 3( here 2 or 3 or 4 only) columns.
  5. [mytube playlistid=”xxxxxxxxxx” latestvideos=”3″] //get latest 3( here 1 to 50) videos from selected youtube playlist id. latestvideos will work with only playlistid.
  6. [mytube channelid=”xxxxxxxxxx”] // get playlist from channel id
  7. [mytube channelid=”xxxxxxxxxx” pageid=”001″] // get playlist from channel id and set playlist video display page id using pageid.
  8. [myvimeo] //get vimeo videos based on vimeo channel id from backend global settings
  9. [myvimeo channelid=”xxxxxxxxx”] //set channel id and get videos
  10. [myvimeo channelid=”xxxxxxxxx” columns=”3″] //set channel id and 3( here 2 or 3 or 4 only) columns.

常見問題集

If have you any doubt then send mail frequently on raghu@tes-india.com

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈MyTube PlayList〉的開發相關工作。

參與者

將〈MyTube PlayList〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.1

Initial Version

1.0.2

Resolve Pagination Issue

2.0.1

Major Changes. Add More Functionality

2.0.2

Changes on activation and deactivation data

2.0.3

Add Functionality for overriding