
內容簡介
Easy Video Player 是一款易於使用的 WordPress 影片外掛,能夠展示自我託管或外部託管的影片,提供良好的使用者體驗,並支援多種自訂選項。
【主要功能】
• 嵌入 MP4 影片至網站
• 支援響應式影片,適合行動裝置觀看
• 提供 HTML5 影片相容於主要瀏覽器
• 可設定自動播放與循環播放
• 自訂影片播放器樣式
• 嵌入影片時可使用短碼
外掛標籤
開發者團隊
原文外掛簡介
Easy Video Player is a user-friendly WordPress video plugin to showcase your videos. You can embed both self-hosted videos or videos that are externally hosted using direct links.
Easy Video Player Add-ons
MediaElement Skin 1
User Only Videos
Video Schema
Disable Right Click
Player Template 1
Player Template Native
Easy Video Player Features
Embed MP4 video into your website
Embed responsive video for a better user experience while viewing from a mobile device
Embed HTML5 video which are compatible with major browsers
Embed video with poster images
Embed video with autoplay if the device and browser support it
Embed video with loop
Embed video with muted enabled
Customize the video player using classes
Embed video using MediaElement player
Easy Video Player Plugin Usage
Embedding a Video in the Classic Editor
Settings Configuration
It’s pretty easy to set up this video player plugin. Once you have installed the plugin simply navigate to the Settings menu where you will be able to configure some options. Mostly you just to need check the “Enable jQuery” option. That will allow the plugin to make use of jQuery library.
Embedding Shortcodes for the Videos
Now it’s time to finally embed a video shortcode. To do this create a new post/page and use the following shortcode:
[evp_embed_video url="https://example.com/wp-content/uploads/videos/myvid.mp4"]
Here, url is a shortcode parameter that you need to replace with the actual URL of the video file.
Video Autoplay
If you want a particular video to start playing when the page loads, you can set the “autoplay” option to “true”:
[evp_embed_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" autoplay="true"]
Control Size
By default, the player takes up the full width of the content area. You can easily control the size by specifying a width for it:
[evp_embed_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" width="640"]
The height will be automatically determined based on the ratio (please see the “Control Player Ratio section” for details).
Control Player Ratio
You can override the default aspect ratio by specifying a different one in the shortcode:
[evp_embed_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" ratio="16:9"]
If the player does not support your specified aspect ratio it will load the default.
Video Loop
If you want a particular video to start playing again when it ends, you can set the “loop” option to “true”:
[evp_embed_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" loop="true"]
Video Player Template
If you want to use a different video player template, you can specify it in the “template” parameter:
[evp_embed_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" template="mediaelement"]
By default, the mediaelement template only loads the “metadata” of a video when the page loads. You can set it to “auto” or “none” with the preload parameter in the shortcode.
[evp_embed_video url="https://example.com/wp-content/uploads/videos/myvid.mp4" preload="auto" template="mediaelement"]
For detailed documentation please visit the WordPress video plugin page
Plugin Language Translation
If you are a non-English speaker please help translate Easy Video Player into your language.
