[WordPress] 外掛分享: YAAM – YouTube Autoplay And Mute

首頁外掛目錄 › YAAM – YouTube Autoplay And Mute
80+
安裝啟用
★★★☆☆
3/5 分(2 則評價)
3634 天前
最後更新
問題解決
WordPress 2.9.0+ v0.0.6 上架:2016-04-05

內容簡介

這是一個專為 WordPress 打造的輕量級 YouTube 外掛程式。YouTube 具有內建功能,可以透過 URL 參數連結到特定時間點、自動播放以及許多其他內建功能。這個外掛程式可以透過 URL 參數啟用自動播放、暫停、跳跳至等功能。

WordPress 預設的設定在使用 oEmbed 嵌入貼文時忽略 URL 參數。這個外掛程式可以解決此問題,讓你可以使用內建的 URL 參數,並享有額外特色(如靜音功能)。

舉例來說:
https://youtu.be/rRr4N2nN_X8?autoplay=1

這個連結可以嵌入 YouTube 播放器,並在載入時自動播放。

你可以從 YouTube 複製任何連結,例如以下連結將會自動從影片的第一分鐘開始播放:
https://youtu.be/rRr4N2nN_X8?t=1m

此外,這個外掛程式還加入了內建 YouTube 播放器所沒有的功能——靜音影片。例如以下連結:

這個連結將會嵌入 YouTube 播放器,並在影片的第一分鐘開始自動播放。如需瞭解更多 URL 參數的選項,請參閱 Google 的 YouTube URL 參數列表:
https://developers.google.com/youtube/player_parameters#Parameters

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.0.6) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「YAAM – YouTube Autoplay And Mute」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The lightest weight YouTube extension for WordPress. YouTube has a built in capabilities that enable you to link to specific points in time, auto play and many other built-in features through the use of url parameters. With this plug-in you can autoplay, pause, skip to and many other features are exposed through URL parameters.
WordPress default configuration ignores the URL parameters when embedding urls into a post using oEmbed. This plug-in fixes that behavior enabling you to use the built in URL parameters that are available to YouTube video with extra features (namely muting videos).
For example:

Will embed the YouTube player and have it automatically start playing.
You can copy any URL from Youtube such as starting from 1 minute into the video:

and it will embed the video and start it at minute 1.
One extra feature that is not available in the built in youtube player parameters that we added to the plugin is the option to mute the video as well. For example:

this will embed the youtube player and have it start playing automatically at minute 1. To explore more of the URL parameter options please review the Google Youtube URL parameters list:
https://developers.google.com/youtube/player_parameters#Parameters

延伸相關外掛

文章
Filter
Apply Filters
Mastodon