Linux 软件免费装
Banner图

LibreVideoJS HTML5 Player

开发者 heckyel
jorgesumle
更新时间 2017年7月26日 04:21
捐献地址: 去捐款
WordPress版本: 4.8
版权: GPLv3 or later
版权网址: 版权信息

标签

player video embed responsive mobile lightweight minimal videojs playlists video player embed video HTML5 wpvideo myvideo librevideojs

下载

1.0.3 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3

详情介绍:

LibreVideoJS HTML5 Player is a plugin that supports playback of video available on desktops and mobile devices. Now it is very easy to embed video files that are hosted externally or internally using the library LibreVideoJS. LibreVideoJS HTML5 Player Features Use the Plugin LibreVideoJS HTML5 Player To embed a video in a new post/page use the following Shortcode: [librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" url_calidad="1080p" code="webm"] Here, "url" is the location of the source file of WebM Video (VP8 and VP9 encoded). You need to replace the 'url' with the actual link of the video file. When you don't want to use multiple resolutions, there is no need to write 'url_calidad' to specify the video quality. Video Shortcode Options The following options are compatible with the Shortcode. Resolutions and quality Selector You can specify a video file OGV in addition to the source WebM & OGV video files. The parameter url is the URL of the video and url_calidad (example: 4k, 2k, 1080p, 720p, etc) is the quality of the video specified with the url parameter. Do not forget to put code="webm" or code="ogv" depending on the format of your file. Then it is also necessary to specify with the command selector="resolution to show" the default resolution (720p, 480p, 360p, 240p, 144p), for example: [librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" code="webm" url_calidad="1080p" selector="360p"] [calidades lvjs_calidad="720p" src_video="video720.webm" lvjs_code="webm"] [calidades lvjs_calidad="480p" src_video="video480.webm" lvjs_code="webm"] [calidades lvjs_calidad="360p" src_video="video360.webm" lvjs_code="webm"] [/librevideojs_video] Subtitles or captions To add subtitles use the command 'track' followed by the parameters: 'kind', 'subt', 'srclang', 'Label', 'default' (optional) from HTML. It is recommended that the subtitles are in your web site, i.e., if your website is 'https://www.example.com/' subtitles should be in 'https://www.example.com/subtitles/mysubtitles.vtt' or in a similar URL. Subtitles will not be loaded if you import them from another website (http://www.another_website.com/subs/subtitles.vtt). [librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" url_calidad="1080p" code="webm" selector="360p"] [track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/en.vtt" srclang="en" label="English"] [track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/es.vtt" srclang="es" label="Spanish" default="true"] [track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/pt.vtt" srclang="pt" label="Portuguese"] [/librevideojs_video] Skin To change the color and style of the player use 'skin', by adding the name of the style ('mixblue', 'mixgrey','mixpurple', 'mixred', 'mixteal', 'mixyellow', 'materialblue', 'materialgrey', 'materialpurple', 'materialred', 'materialteal', 'materialyellow'), example: [librevideojs_video url="myvideo.webm" code="webm" skin="mixteal"][/librevideojs_video] Preload Specifies how the video must be loaded when you load the page. By default this is set to "Auto" (the video should be fully charged when the page is loaded). There area other options: [librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" preload="metadata" url_calidad="1080p" code="webm"] Controls Specifies that the video controls must be shown. Its default value is "true". In order to hide the controls, set this parameter to "false". [librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" controls="false" url_calidad="1080p" code="webm"] When you disable the controls, users will not be able to interact with your videos. It is therefore recommended that you enable the playback without using the command controls. Auto-play Makes the video file to play automatically when the page is loaded. [librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" autoplay="true" url_calidad="1080p" code="webm"] Poster Defines the image to display as a placeholder before the video is played. [librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" poster="http://example.com/wp-content/uploads/poster.jpg" url_calidad="1080p" code="webm"] Loop Makes the video play again from the beginning when it finishes. [librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" loop="true" url_calidad="1080p" code="webm"] Mute Specifies that the audio output of the video must be muted. [librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" muted="true" code="webm"] For detailed documentation, please visit the website of the plugin LibreVideoJS HTML5 Player All [librevideojs_video url="videooriginal.webm" code="webm" url_calidad="1080p" selector="480p"] [calidades lvjs_calidad="720p" src_video="video720.webm" lvjs_code="webm"] [calidades lvjs_calidad="480p" src_video="video480.webm" lvjs_code="webm"] [calidades lvjs_calidad="360p" src_video="video360.webm" lvjs_code="webm"] [track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/en.vtt" srclang="en" label="English"] [track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/es.vtt" srclang="es" label="Spanish" default="true"] [track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/pt.vtt" srclang="pt" label="Portuguese"] [/librevideojs_video] Hotkeys The video player that comes with this plugin enables some keyboard hotkeys when the player has focus: Note: clicking any of the control buttons such as Play/Pause, Fullscreen, or Mute, will remove focus on the player which appears to "break" the hotkeys. This is for accessibility reasons so that people who do not use or know about the hotkeys can still properly use the Tab key to highlight the control buttons and press space to toggle them. To restore focus, just click on the video, or an empty part of the control bar at the bottom of the video player.

安装:

  1. Go to the screen to add new plugins in the dashboard of WordPress
  2. Click the tab of the load
  3. Browse to the file for the plugin (librevideojs-html5-player.zip) in your computer
  4. Click "Install Now", and then press the 'Enable' button

屏幕截图:

  • screenshot-1.png
  • screenshot-2.png
  • screenshot-3.png
  • screenshot-4.png
  • screenshot-5.png
  • screenshot-6.png
  • screenshot-7.png
  • screenshot-8.png
  • screenshot-9.png
  • screenshot-10.png
  • screenshot-11.png
  • screenshot-12.png
  • screenshot-13.png
  • screenshot-14.png

升级注意事项:

None

常见问题:

Can this plugin be used to embed videos in Wordpress?

Yes.

Is it adaptive to different screen sizes?

Yes.

Can I embed videos with several resolutions with this plugin?

Yes.

Can I embed the subtitles in the video with this plugin?

Yes.

更新日志:

1.2.3 1.2.2 1.2.1 1.2.0 1.1.2 1.1.1 1.1.0 1.0.3 1.0.2