Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Redirect when Video Ends

Apraksts

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.

Uzstādīšana

  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

BUJ

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.

Atsauksmes

Lasīt 1 atsauksmes

Autori un izstrādātāji

“Redirect when Video Ends” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Redirect when Video Ends&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.0

  • The plugin has been created

1.1

Allows muting, class, and id.