
內容簡介
這個外掛讓使用者透過在文章中輸入簡碼 (),嵌入具有自動播放及自動靜音功能的 Vimeo 影片。可以使用 Vimeo 所提供的選項,如自動播放、自動靜音、作者頭像、標題等,作為簡碼屬性。我建立這個外掛作為在我們網站上嵌入影片的解決方案。(原文連結)
感謝
無
使用方式
將 簡碼輸入到任何文章中。其中的 clip_id 是從該影片的 URL 中取得的數字 (例如:vimeo.com/113868429)
若要啟用自動播放自動靜音功能,請將簡碼輸入如下:
您也可以選擇修改影片的寬度或高度,例如:
切換作者名稱、頭像和標題的顯示方式,可以輸入如下簡碼:
當 width 或 height 屬性的值為空時,外掛程式將根據 16:9 的寬高比例計算適當的尺寸。例如: 或
外掛標籤
開發者團隊
原文外掛簡介
Allows the user to embed Vimeo movie clips with autoplay automute features by entering a shortcode () into the post area. Vimeo’s options regarding the display of meta properties like autoplay, automute, by-line, title, or the video author’s portrait are supported as short code attributes. I have built this plugin as a solution for embedding videos on our site.
Credits
N/A
Usage
Enter the short code into any post. clip_id is the number from the clip’s URL (e.g. vimeo.com/113868429)
In order to enable autoplay automute feature enter the shortcode as follows:
Optionally modify the clip’s appearance by specifying width or height, like so:
Toggle the display of byline, portrait and title like so:
Using empty values for either the width or height attributes will cause plugin to calculate the proper dimension based on a 16:9 aspect ration. Example: or
