這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Redirect when Video Ends

描述

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 `<a>` 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.

安裝

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常見問題

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
Does the redirect use JavaScript

Yes, the redirect needs JavaScript. If the JavaScript is turned off on the user’s device, this plugin won’t work.

評價

閱讀全部1個評價

貢獻者及開發者

“Redirect when Video Ends” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Redirect when Video Ends 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • The plugin has been created

1.1

Allows muting, class, and id.