[WordPress] 外掛分享: VideoADShtml5

首頁外掛目錄 › VideoADShtml5
WordPress 外掛 VideoADShtml5 的封面圖片
10+
安裝啟用
☆☆☆☆
1/5 分(1 則評價)
90 天前
最後更新
問題解決
WordPress 5.3+ v2.9 上架:2020-08-06

內容簡介

VideoADShtml5 是一款易於使用的 WordPress 影片外掛,可展示您的影片。您可以嵌入自行託管的影片或使用直接連結和廣告的外部託管影片。

系統需求
VideoADShtml5 功能

嵌入 MP4 影片到您的網站
嵌入響應式影片,以在從行動裝置瀏覽時提供更好的使用者體驗
嵌入與所有主要瀏覽器相容的 HTML5 影片
嵌入自動播放的影片
嵌入已啟用靜音的影片

VideoADShtml5 外掛使用方法

設定配置

設置此影片播放器外掛非常容易。安裝外掛後,只需導覽至設定選單,您就可以配置一些選項。大部分情況下,您只需勾選「啟用 jQuery」選項。這將允許外掛使用 jQuery 函式庫。

影片縮短碼嵌入

現在是時候最終嵌入影片縮短碼了。要這麼做,請創建一篇新文章/頁面,並使用以下縮短碼:

[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4"]

影片開始時的廣告

現在我們使用廣告在影片剪輯開始時顯示廣告

[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" ads="http://example.com/wp-content/uploads/videos/reklama.mp4" ]

影片結束時的廣告

在影片結束時嵌入廣告。創建一篇新文章/頁面,並使用以下縮短碼:

[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" ads_end="http://example.com/wp-content/uploads/videos/reklama.mp4" ]

開始和結尾嵌入廣告

您可以在一個影片中使用兩個廣告

[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" ads="http://example.com/wp-content/uploads/videos/reklama.mp4" ads_end="http://example.com/wp-content/uploads/videos/reklama.mp4" ]

這裡,URL 是縮短碼參數,需代換為實際的影片檔案 URL,並且 ADS 參數負責廣告檔案。

影片自動播放

如果您想讓特定影片在頁面載入時開始播放,您可以將「自動播放」選項設為「true」:

[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" autoplay="true"]

影片靜音

如果您想調整靜音且不播放聲音,將「靜音」值設為「true」:

[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" muted="true"]

不要超過 6 篇影片

如果您想新增超過一部影片,可以依照格式輸入,但不要超過 6 部

[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" url1="http://example.com/wp-content/uploads/videos/myvid.mp4" url2="http://example.com/wp-content/uploads/videos/myvid.mp4" url3="http://example.com/wp-content/uploads/videos/myvid.mp4" url4="http://example.com/wp-content/uploads/videos/myvid.mp4" url5="http://example.com/wp-content/uploads/videos/myvid.mp4"]

影片海報

使用海報標籤放置海報

[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" poster="http://example.com/wp-content/uploads/pic/piction.jpg"]

建議閱讀

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.9) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「VideoADShtml5」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

VideoADShtml5 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 and ads.
Requirements
VideoADShtml5 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 all major browsers
Embed video with autoplay
Embed video with muted enabled

VideoADShtml5Plugin Usage
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:
[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4"]

ADS at the beginning
Now we use ads to display ads, at the beginning of the video clip
[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" ads="http://example.com/wp-content/uploads/videos/reklama.mp4" ]

ADS at the end
Embedding ads at the end of the video. Create a new post / page and use the following shortcode:
[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" ads_end="http://example.com/wp-content/uploads/videos/reklama.mp4" ]

ADS at the beginning and end
You can use two ads together in one video
[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" ads="http://example.com/wp-content/uploads/videos/reklama.mp4" ads_end="http://example.com/wp-content/uploads/videos/reklama.mp4" ]

Here, the URL is the shortcode parameter to replace with the actual URL of the video file, and the ADS parameter is responsible for the ad file.
Video Autoplay
If you want a particular video to start playing when the page loads, you can set the “autoplay” option to “true”:
[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" autoplay="true"]

Video Muted
If you want the sound to be turned off, set the muted value “muted” option to “true”:
[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" muted="true"]

No more than 8 video clips
If you want to add more than one video, enter in the format, but not more than 8
[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" url1="http://example.com/wp-content/uploads/videos/myvid.mp4" url2="http://example.com/wp-content/uploads/videos/myvid.mp4" url3="http://example.com/wp-content/uploads/videos/myvid.mp4" url4="http://example.com/wp-content/uploads/videos/myvid.mp4" url5="http://example.com/wp-content/uploads/videos/myvid.mp4"]

Video Poster
Poster placement using the poster tag
[videoads url="http://example.com/wp-content/uploads/videos/myvid.mp4" poster="http://example.com/wp-content/uploads/pic/piction.jpg"]

Recommended Reading

延伸相關外掛

文章
Filter
Apply Filters
Mastodon