
內容簡介
「Responsive Embed Videos」外掛可讓您輕鬆地使用我們的短代碼將 YouTube 或 Vimeo 影片嵌入到您的網站中,例如︰
[rev video=’http://youtube.com/watch?v=whatever’] 或 [rev video=’http://vimeo.com/whatever’]
使用此短代碼嵌入的所有影片都將是完全響應式的。
以下是短代碼屬性列表:
video - 預設值:無 | 這是您的影片 URL,目前僅支援 YouTube 或 Vimeo。
width - 預設值:100% | 播放器的寬度(以%為單位)。
align - 預設值:居中、靠左或靠右 | 影片的水平對齊方式。
ratio - 預設值:16/9 | 這是我們用來調整播放器大小的比例。
style - 預設值:簡單、正常 | 播放器的風格。
語言:英文。
免責聲明:
我無法保證與已經讓嵌入式影片具備響應式的進階主題或其他視頻外掛功能的網站完全相容。
外掛標籤
開發者團隊
原文外掛簡介
Responsive Embed Videos allows you to easily add youtube or vimeo videos to your website using our shortcode like :
[rev video=’http://youtube.com/watch?v=whatever’] or [rev video=’http://vimeo.com/whatever’]
All videos embeded with this shortcode will be fully responsive.
Here is a list of the shortcode attributes :
video – default: none | This is the url of your video, from youtube or vimeo only for now.
width – default: 100% | This is the width ( in % ) of the player.
align – default: center, left, right | The horizontal alignment of the video.
ratio – default: 16/9 | This is the ratio we use to resize the player.
style – default: simple, normal | This is the style of the player.
Languages: English.
Disclaimer :
I can’t guarantee a 100% compatibility with advanced themes who may already make the embed videos responsive or with other video plugins.
