Youtubeの動画を記事に埋め込むときに便利なプラグインtubepress

tubepressは、ショートコードを使っていろいろな形でyoutubeの動画を投稿に表示することができます。
APIはこちらを参照。→ http://tubepress.org/showcase/#content_youtube_search

(1)大きな画像は、IDと縦横のサイズ、各種情報を表示するように設定して表示しています。
(2)小さな画像は、「東京事変」を含み、「KPOP」を含まないように指定して8つの動画を表示しています。
(引っ張ってきた検索結果に望まない映像が含まれていたら、除外指定して一覧から外すことが可能です)

指定したショートコードの内容は、以下のとおりです。
tubepress video=’a2ITYA7yJag’ description=’true’ author=’true’ length=’true’ tags=’true’ theme=’youtube’ uploaded=’true’ category=’true’ descriptionLimit=’0′ embeddedHeight=”420″ embeddedWidth=”540″ showRelated=”false”

tubepress mode=”tag” tagValue=”東京事変 -KPOP” theme=”youtube” playerLocation=”shadowbox” hqThumbs=”true” resultCountCap=”8″

[tubepress video=’a2ITYA7yJag’ description=’true’ author=’true’ length=’true’ tags=’true’ theme=’youtube’ uploaded=’true’ category=’true’ descriptionLimit=’0′ embeddedHeight=”420″ embeddedWidth=”540″ showRelated=”false”]

[tubepress mode=”tag” tagValue=”東京事変 -KPOP” theme=”youtube” playerLocation=”shadowbox” hqThumbs=”true” resultCountCap=”8″]

(Visited 258 times, 1 visits today)

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です