Marcus Hiles Wistia Shortcodes

Mô tả

This plugin simplifies adding Wistia videos to your site. You can use a shortcode or insert a video with a custom Gutenberg block.

You won’t have to deal with the large embed codes which load the javascript in the middle of the page. The main Wistia javascript file will only be loaded once per page, and associated JSON files will be grouped together in the footer.

BLock

This plugin provides 1 block.

marcus-hiles-wistia-shortcodes/wistia-video-block

Cài đặt

Install the plugin

  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

There are no settings. To use, [mh_wistia_embed id=””] or use the MH: Wistia Video block.

Get the wistia ID from the embed code or the url of the video in wistia.

Shortcode Options

id: the wistia ID for the video. Required.
embed_type: inline or popover. Defaults to inline.
animatethumbnail: Whether to animate the hover effects on the thumbnail. Default is false
responsive: Use responsive video. Default is false
height: IF not responsive, use height
width: IF not responsive, use width
player: js or iframe. Defaults to js

Người đóng góp & Lập trình viên

“Marcus Hiles Wistia Shortcodes” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.3

  • Check for if Gutenberg exists

1.2

  • Fix missing file

1.1

  • Add Gutenberg Support
  • Gutenberg block for video

1.0

  • Initial release