內容簡介
當視頻結束時重定向
此外掛允許您使用短碼 [redirvid] 並嵌入一個 HTML5 視頻。當此視頻結束時,將自動重定向到另一個網頁。
此短碼的屬性
src - 視頻檔案的來源。
link - 視頻結束時打開的網頁連結。
target - 預設為 `_self`,將頁面重定向。您可以使用任何 [`<a>` 標籤的 `target` 屬性值](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)。
autoplay - 此屬性指定視頻是否自動播放。值 `yes` 表示視頻會自動播放。值 `no` 表示視頻不會自動播放。預設為值 `no`。
controls - 此屬性指定視頻是否有用戶控件。值 `no` 表示視頻沒有控件。值 `yes` 表示視頻有控件。
muted - 此屬性指定視頻是否靜音。值 `no` 表示視頻未靜音。值 `yes` 表示視頻靜音。預設為值 `no`。
poster - HTML5 視頻封面圖片的來源。這是在視頻播放之前顯示的圖像。
class - 視頻的 HTML 類別。
id - 視頻的 HTML ID。
外掛標籤
開發者團隊
原文外掛簡介
Redirect when Video Ends
This plugin will allow you to use the shortcode [redirvid] and embed an HTML5 video. Once this video is over, the page will be automatically redirected
Attributes for this shortcode
src - The source of the video file.
link - The link that is opened when the video ends.
target - The default is `_self`, which redirects the page. You can use any of the values that you could use with the [`target` attribute of an `` tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target).
autoplay - This attribute specifies whether or not the video begins playing on its own. The value `yes` means the video will autoplay. The value `no` means that the video will not autoplay. The default is value `no`.
controls - This attribute specifies whether or not the video has user controls. The value `no` means that the video will not have controls. The value `yes` means
muted - This attribute specifies whether or not the video is muted. The value `no` means that the video will not have controls. The value `yes` means the video will have controls. The default is value `no`.
poster - The source of the poster image of the HTML5 video. This is the image that shows up before the video plays.
class - The HTML class of the video.
id - The HTML id of the video.
