Title: Youtube Playlist Thumbs
Author: jsphstls
Published: <strong>2015年2月25日</strong>
Last modified: 2015年8月2日

---

プラグインを検索

![](https://ps.w.org/youtube-playlist-thumbs/assets/banner-772x250.png?rev=1099571)

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://ps.w.org/youtube-playlist-thumbs/assets/icon.svg?rev=1099563)

# Youtube Playlist Thumbs

 作者: [jsphstls](https://profiles.wordpress.org/jsphstls/)

[ダウンロード](https://downloads.wordpress.org/plugin/youtube-playlist-thumbs.zip)

 * [詳細](https://ja.wordpress.org/plugins/youtube-playlist-thumbs/#description)
 * [レビュー](https://ja.wordpress.org/plugins/youtube-playlist-thumbs/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/youtube-playlist-thumbs/#installation)
 * [開発](https://ja.wordpress.org/plugins/youtube-playlist-thumbs/#developers)

 [サポート](https://wordpress.org/support/plugin/youtube-playlist-thumbs/)

## 説明

[Demo](http://codepen.io/jsphstls/full/aOOqzg)

Install and activate the plugin. Insert the [ypt playlist_id=] shortcode in your
page or post and insert your playlist ID after the equal. When that content is published
and viewed, a Youtube player will appear and a column of thumbnails will load to
the right of the player. Clicking the thumbnails switches between videos.

This plugin includes a small CSS file for minimal styling that was written to target
the specific IDs of the thumb list and player.

Youtube Playlist Thumbs plugin depends on the Youtube Iframe API. Any bugs experienced
with that service will affect this plugin. Please check for bugs with Youtube Iframe
API before reporting a bug for this plugin.

See “Other Notes” for usage.

### Usage

Place this shortcode in your posts or pages and insert your Youtube Playlist ID 
after the equal.

    ```
    [ypt playlist_id=]
    ```

To get a Youtube Playlist ID, copy the string after ‘&list=’ when viewing a playlist
on Youtube.com. See screenshot #3.

To trigger the playback of an ordered video in the playlist, add this attribute 
to the clickable element:

    ```
    data-ypt-index="X"
    ```

Where ‘X’ is the order number of the video with the first video starting at 0. The**
third video would be 2**. For example:

    ```
    <button data-ypt-index="2">Click to play the third video.</button>
    ```

The ‘Now Playing’ thumbnail text and arrow is inserted by CSS. Add this rule to 
your CSS to change it:

    ```
    #ypt_thumbs .ypt-now-playing > span::after {
      content: "YOUR NEW TEXT" !important;
    }
    ```

The height of the list of thumbnails is set by Javascript. It is first set when 
the player is ready and it adjusts when the window changes size. If you are using
modals or any dynamic method to show/hide the player, you will need to trigger this
function when the player is shown:

    ```
    yptThumbHeight();
    ```

For example, with Bootstrap modals:

    ```
    $('#videoModal').on('shown.bs.modal', function (e) { //modal shows
         yptThumbHeight(); //update the thumb height
    });
    ```

A Javascript event triggers at the end of a playlist. It can used to trigger other
events:

    ```
    jQuery(document).on('playlistEnd', function () { //playlist finished last video
        alert("That's all, thanks for watching!"); //do something
    });
    ```

## スクリーンショット

[⌊How the player should appear.⌉⌊How the player should appear.⌉[

How the player should appear.

[⌊Using the shortcode.⌉⌊Using the shortcode.⌉[

Using the shortcode.

[⌊Getting a Youtube Playlist ID.⌉⌊Getting a Youtube Playlist ID.⌉[

Getting a Youtube Playlist ID.

[⌊Adding an element to trigger a video in the playlist.⌉⌊Adding an element to trigger
a video in the playlist.⌉[

Adding an element to trigger a video in the playlist.

## インストール

 1. Upload `youtube-playlist-thumbs.zip` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  Why develop this plugin?

Youtube recently changed their playlist Iframe layout so that the thumb navigation
is collapsed.
 Youtube Iframes, without the API, do not work well with modals and
similar dynmaic elements. The Youtube Iframe API allows player control by other 
page elements such as links and buttons.

  How many shortcodes can I use on one post/page?

Just one. Youtube Iframe API is designed to work with one player at a time. Notice
that on Youtube.com there is only one video player and links to multiple videos.

  How many videos can I have in a playlist?

As of Version 0.5.0 the limit is 200, which is also the maximum number of videos
that Youtube allows in one playlist.

## 評価

![](https://secure.gravatar.com/avatar/3c0a59d0d51b068282c2c3fde6e0524cf8932c975a1792af794a46641dd607eb?
s=60&d=retro&r=g)

### 󠀁[Only One](https://wordpress.org/support/topic/only-one-2/)󠁿

 [simonothen](https://profiles.wordpress.org/simonothen/) 2016年10月26日 1 reply

Only place one playlist one your site else the plugin does not work …. and I can't
find a settings page at all

![](https://secure.gravatar.com/avatar/9aefbb97a383011c0577740cf3dc85c4e2d88d81f05c2141f0a101ce2109701d?
s=60&d=retro&r=g)

### 󠀁[Thank you very much.](https://wordpress.org/support/topic/thank-you-very-much-34/)󠁿

 [yelm](https://profiles.wordpress.org/yelm/) 2016年9月3日

Good plugin, works! Would be cool to customize the design of the viewer better in
a future version 🙂

![](https://secure.gravatar.com/avatar/23c149439cd29ff68d3b98a665416db95ee06aa1564ca04b263986b0cb946f95?
s=60&d=retro&r=g)

### 󠀁[Simple and Good](https://wordpress.org/support/topic/simple-and-good-57/)󠁿

 [Gordon](https://profiles.wordpress.org/jwart/) 2016年9月3日

Great plugin that just works. Thank you!

![](https://secure.gravatar.com/avatar/996277d131c0e3605a5d6831d448f9b9bef2858aee8a4702250add89654f02c4?
s=60&d=retro&r=g)

### 󠀁[Works great!!!!](https://wordpress.org/support/topic/works-great-3113/)󠁿

 [leavinglaodicea](https://profiles.wordpress.org/leavinglaodicea/) 2016年9月3日

Simple and straightforward. THIS is how you build a plugin for simple and straightforward
applications!

![](https://secure.gravatar.com/avatar/222924ff5d565adadc2ed78664e508e914c1078d5f871c7f724886c641ea0255?
s=60&d=retro&r=g)

### 󠀁[Great Plugin!](https://wordpress.org/support/topic/great-plugin-10152/)󠁿

 [Elias](https://profiles.wordpress.org/eliaslange/) 2016年9月3日

Is it possible to make the plugin/video implementation responsive as well?

![](https://secure.gravatar.com/avatar/bb2081f9dad7ab28e21c725f7af07a51beaadcb98cc264b75a9eb5b4f1d2472d?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-2853/)󠁿

 [themj](https://profiles.wordpress.org/mayurj/) 2016年9月3日

Works perfectly on the latest version of WP. Would be nice if we could have the 
titles show up below the thumbs.

 [ 12件のレビューをすべて表示 ](https://wordpress.org/support/plugin/youtube-playlist-thumbs/reviews/)

## 貢献者と開発者

Youtube Playlist Thumbs はオープンソースソフトウェアです。以下の人々がこのプラグ
インに貢献しています。

貢献者

 *   [ jsphstls ](https://profiles.wordpress.org/jsphstls/)

[“Youtube Playlist Thumbs” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/youtube-playlist-thumbs)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/youtube-playlist-thumbs/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/youtube-playlist-thumbs/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/youtube-playlist-thumbs/)
を [RSS](https://plugins.trac.wordpress.org/log/youtube-playlist-thumbs/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 0.1

Initial release

#### 0.2

Improved ‘playlistEnd’ event.

#### 0.2.5

More global variables for use in custom JS.

#### 0.3.0

.js only loads if shortcode is present.

#### 0.4.0

Thumbnail list limit raised from 25 to 50.

#### 0.5.0

Thumbnail list limit raised to 200. Speed increase.

#### 0.5.1

Private videos in a playlist will be skipped.

#### 0.5.2

Patch for thumbnail clicks not playing video.

## メタ

 *  バージョン **0.5.2**
 *  最終更新日 **11年前**
 *  有効インストール数 **100+**
 *  WordPress バージョン ** 2.8.0またはそれ以降 **
 *  検証済み最新バージョン: **4.2.39**
 *  言語
 * [English (US)](https://wordpress.org/plugins/youtube-playlist-thumbs/)
 * タグ
 * [iframe](https://ja.wordpress.org/plugins/tags/iframe/)[playlist](https://ja.wordpress.org/plugins/tags/playlist/)
   [thumbnails](https://ja.wordpress.org/plugins/tags/thumbnails/)[video](https://ja.wordpress.org/plugins/tags/video/)
   [youtube](https://ja.wordpress.org/plugins/tags/youtube/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/youtube-playlist-thumbs/advanced/)

## 評価

 5つ星中5つ星

 *  [  12 5-星レビュー     ](https://wordpress.org/support/plugin/youtube-playlist-thumbs/reviews/?filter=5)
 *  [  0 4-星レビュー     ](https://wordpress.org/support/plugin/youtube-playlist-thumbs/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/youtube-playlist-thumbs/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/youtube-playlist-thumbs/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/youtube-playlist-thumbs/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/youtube-playlist-thumbs/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/youtube-playlist-thumbs/reviews/)

## 貢献者

 *   [ jsphstls ](https://profiles.wordpress.org/jsphstls/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/youtube-playlist-thumbs/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](http://wikimediafoundation.org/wiki/Ways_to_Give)