跳到内容

Minute Video

v2.0.3

Minute · 2021年11月10日 上架

Embed Minute Platform OVP videos and playlists in WordPress, with full sendtonews shortcode and oEmbed support.

正在使用
50+
评分
暂无
累计下载
3,595
最近更新
2026年10月14日
需要 WordPress 5.0.3+已测试到 7.1.5PHP 7.2+

贡献者

截图

Minute Video settings — OVP credentials.
Minute Video settings — OVP credentials.
Classic editor Add Video and Add Playlist buttons.
Classic editor Add Video and Add Playlist buttons.
Embed modal — Video Library tab.
Embed modal — Video Library tab.
Embed modal — Playlists tab.
Embed modal — Playlists tab.
Featured Video metabox on the post edit screen.
Featured Video metabox on the post edit screen.
Minute Video block in the block editor.
Minute Video block in the block editor.

The Minute Video plugin connects WordPress to Minute’s Online Video Platform (OVP). Use it to embed OVP videos and playlists in posts, sidebars, and theme templates, set featured video, and serve sendtonews embeds already in your content.

Download the user guide (PDF)

What you can do

  • Configure OVP credentials under Settings > Minute Video
  • Search and insert videos from the Video Library in the post editor (classic editor or Minute Video block)
  • Insert playlists or shortcodes from the embed modal in widgets and the customizer
  • Embed with the [voltax] shortcode (or legacy [mm-video] where already in use)
  • Embed sendtonews content with the [sendtonews] shortcode or embed.sendtonews.com oEmbed URLs
  • Set a featured video per post and render it with the MinuteMedia\Ovp\Player theme API
  • Paste Minute Video URLs for oEmbed on *.minutemediaservices.com
  • Serve AMP pages with Minute Platform and sendtonews amp-video-iframe output (legacy [mm-video] uses amp-minute-media-player)

Account

A Minute Platform OVP account is required for new Minute Video embeds. Contact sales@minutegroup.com for access.

Developer reference

wp-config constants

  • VOLTAX_DEBUG — Enable admin/modal debug logging. Default false.
  • DISABLE_VOLTAX_AMP_SWITCH — When true, disables automatic AMP switching for [voltax] and [sendtonews] embeds.
  • DISABLE_S2N_AMP_SWITCH — Legacy STN constant; same behavior as DISABLE_VOLTAX_AMP_SWITCH.
  • VOLTAX_ENABLE_OVERRIDE_PROPERTY — When true, shows Override Property on Featured Video, the Voltax block, and the Voltax widget for single-video selections. [voltax] property and organization attributes always work without this constant.

Filters

Featured Video metabox post types (default: post, page). Use voltax_featured_video_screens for new integrations. stnvideo_featured_video_screens is a legacy fallback used only when the voltax filter has no callbacks.

  • voltax_featured_video_screens — ( $screens )
  • stnvideo_featured_video_screens — legacy fallback; ( $screens )

Embed playback and extension hooks:

  • voltax_embed_playbackmethod — ( $playbackmethod, $content_id, $record, $options ) — autoplay, clicktoplay, or empty (omit override)
  • voltax_amp_iframe_query_args — ( $args, $content_id ) — AMP iframe query args
  • voltax_oembed_request_params — ( $params, $parsed, $url, $args ) — oEmbed request params
  • voltax_oembed_parsed_url — ( $result, $query_params, $url ) — parsed source URL fields

Voltax oEmbed also forwards allowlisted optional query params from the pasted URL (for example playbackmethod) when present; use the filters above to inject or override.

Extra HTML attributes on player embed divs (standard/non-AMP only). Return a space-separated attribute string.

  • voltax_extra_player_div_attributes — ( $attributes, $content_id, $post ) for [voltax]
  • stnvideo_extra_player_div_attributes — ( $attributes, $player_type, $key, $cid, $post ) for [sendtonews]; $player_type is always single

Legacy [mm-video] AMP. Use voltax_video_amp_attributes for new integrations. mm_video_amp_attributes is a legacy fallback used only when the voltax filter has no callbacks.

  • voltax_video_amp_attributes — ( $attributes, $node )
  • mm_video_amp_attributes — legacy fallback; ( $attributes ) only
  • voltax_amp_force_sanitizer_placeholder — ( $default, $record, $options )
  • voltax_amp_use_sanitizer_path — ( $default, $record, $options )

oEmbed:

  • voltax_oembed_base — ( $default ) Voltax oEmbed service base URL (/oembed/player)

Embeds and third-party scripts

The plugin outputs shortcodes, player <script> tags, or AMP iframes. It does not bundle third-party player JavaScript.

Voltax OVP ([voltax]) — player div + script:

  • Script: https://players.voltaxservices.io/players/{organizationId}/{propertyId}/embed
  • AMP iframe: https://mp.mmvideocdn.com/mini-player/amp/index.html

Legacy Voltax ([mm-video]) — img placeholder swapped to script on the front end, or direct script embed:

  • Script: https://vms-players.minutemediaservices.com/{playerId}.js (override with VOLTAX_EMBED_LEGACY_ENDPOINT)
  • Front-end swap: plugin script public/js/voltax-video-player-public.js
  • AMP: amp-minute-media-player via AMP sanitizer templates

sendtonews / STN ([sendtonews]) — player div + script (or AMP iframe):

  • float / single: //embed.sendtonews.com/player3/embedcode.js
  • player (Smart Match float): //embed.sendtonews.com/player3/embedcode.js
  • full / barker: //embed.sendtonews.com/player2/embedcode.php
  • amp / amplist: https://amp.stnvideo.com/avi/

oEmbed providers

  • STN: https://embed.sendtonews.com/services/oembed
  • Voltax: *.minutemediaservices.com URLs resolved through /oembed/player (voltax_oembed_base, default https://videos-content.minutemediaservices.com). Editor uses preview_html; front-end uses html.

Legacy editor blocks and widgets

  • Block sendtonews/playerselector — preserved for existing posts; saved content remains [sendtonews ...] until replaced with voltax/video
  • Widget sendtonews — preserved for existing sidebar/customizer instances; renders STN until replaced with Voltax fields on the same widget
  • New block: voltax/video; new widget: voltax_video

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums