Linux 软件免费装
Banner图

Video.js HLS Player

开发者 star2dev
更新时间 2016年12月8日 02:33
捐献地址: 去捐款
PHP版本: 4.2 及以上
WordPress版本: 4.7
版权: GPLv3 or later
版权网址: 版权信息

标签

player flash video embed responsive mobile html5 lightweight iphone ipod iPad minimal flash player videojs playlists video player embed video wpvideo hls myvideo

下载

1.0.2

详情介绍:

Video.js HLS Player is a user-friendly plugin that allows you to easily embed responsive/fluid (or fixed width) HLS videos into WordPress posts and pages using this customized video.js player. Embedding externally hosted .m3u8 HLS video files couldn't be easier. Video.js HLS Player Features Video.js HLS Player Plugin Usage In order to embed a video create a new post/page and use the following shortcode: [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8"] Here, "url" is the location of the HLS video package file. Video Shortcode Options The following options are supported in the shortcode. MP4 You can specify an MP4 video file in addition to the source HLS video file. This parameter is optional. [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" mp4="http://example.com/wp-content/uploads/videos/myvid.mp4"] WebM You can specify a WebM video file in addition to the source HLS video file. This parameter is optional. [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" webm="http://example.com/wp-content/uploads/videos/myvid.webm"] Ogv You can specify a Ogv video file in addition to the source HLS video file. This parameter is optional. [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" ogv="http://example.com/wp-content/uploads/videos/myvid.ogv"] Width Defines the width of the video file (Height is automatically calculated). This option is not required unless you want to limit the maximum width of the video. [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" width="480"] Preload Specifies if and how the video should be loaded when the page loads. Defaults to "auto" (the video should be loaded entirely when the page loads). Other options: [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" preload="metadata"] Controls Specifies if video controls should be displayed. Defaults to "true". In order to hide controls set this parameter to "false". [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" controls="false"] When you disable controls users will not be able to interact with your videos. So It is recommended that you enable autoplay for a video with no controls. Autoplay Causes the video file to automatically play when the page loads. [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" autoplay="true"] Poster Defines image to show as placeholder before the video plays. [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" poster="http://example.com/wp-content/uploads/poster.jpg"] Loop Causes the video file to loop to beginning when finished and automatically continue playing. [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" loop="true"] Muted Specifies that the audio output of the video should be muted. [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" muted="true"] iOS Inline Force the video to play inline on iOS 10+ [videojs_hls url="https://player.vimeo.com/external/xxxxxxxxx.m3u8" inline="true"] For detailed documentation please visit the Video.js HLS Player plugin page

安装:

  1. Go to the Add New plugins screen in your WordPress Dashboard
  2. Click the upload tab
  3. Browse for the plugin file (videojs-hls-player.zip) on your computer
  4. Click "Install Now" and then hit the activate button

升级注意事项:

none

常见问题:

Can this plugin be used to embed videos in WordPress?

Yes.

Are the videos embedded by this plugin playable on iOS devices?

Yes.

Can I embed responsive videos using this plugin?

Yes.

更新日志:

1.0.2 1.0.1 1.0