
內容簡介
Switch Video Quality 是一個 WordPress 外掛,它為原生的 WordPress 影片播放器(mediaelement.js)添加了一個品質切換按鈕,使觀眾能夠在不同的分辨率(例如 SD 和 HD)和/或格式(mp4、webm、ogv)之間進行選擇,進而觀看自行託管的 HTML5 相容視頻。此外,它還提供了一個 iframe 嵌入代碼,讓您的觀眾可以將您的影片嵌入到他們的網站中(可選)。
功能:
提供多種品質的影片讓觀眾選擇(就像 YouTube 或 Vimeo 一樣)
直接將影片文件上傳到 WordPress 媒體庫,或使用單獨的 Web 伺服器來託管您的文件(必須手動輸入直接 URL)
當頁面上有多個影片時創建播放列表(只需要一個播放器)。播放列表將作為網格佈局放置在播放器下方,並帶有每個影片的縮略圖
為每個影片提供自動生成的 iframe 嵌入代碼
支援多種語言的字幕
通過拖放重新排序播放列表項目
品質級別標籤顯示視頻的高度值,但您可以輕鬆設置自定義標籤
自動添加 HD 和 4K 品質標誌
選擇性地在播放器中顯示包含標題和持續時間信息的信息疊加層
按帖子進行開啟/關閉
完全可翻譯(英文和德文語言文件已包括在內)
使用方法:
在文章編輯器中,使用正常的影片短碼(設置寬度和高度),將影片播放器放置在內容區域中,如下所示:
沒有其他短碼屬性是必須的(實際上,即使省略寬度和高度,它們也會默認為 640 x 480 像素),但當未使用或停用 Switch Video Quality 時,您可以添加 src 和 pos 發布人 站台的 2021 年度績效與目標進度報告 2021 /a>、發布人 /author/white/、類別 /category/目標與績效/ 的分類目錄頁面。
外掛標籤
開發者團隊
原文外掛簡介
Switch Video Quality adds a quality switch button to the native wordpress video player (mediaelement.js), that allows to choose between different resolutions (e.g., SD and HD) and/or formats (mp4, webm, ogv) of a self-hosted html5-compatible video. Additionally it provides an iframe embed code to let your viewers embed your video into their website (optional).
Features:
serve your videos in multiple qualities to let your viewers choose (just like youtube or vimeo)
upload your video files directly to the wordpress media library or use a separate web server to host your files (direct URLs have to be entered manually)
create a playlist when you have more than one video on a page (only one player needed). The playlist is placed below the player as a grid layout with thumbnails for each video
provide an automatically generated iframe embed code for each video
use subtitles for multiple languages
reorder playlist items with drag and drop
quality level labels show the video’s height value by default, but you can set custom ones easily
HD and 4K quality flags are added to the labels automatically
optionally show an info overlay in the player that contains title and duration information
turn on/off on a per-post basis
fully translatable (english and german language files already included)
How to use:
In the post editor, use the normal video shortcode (width and height set to your needs) to place the video player in your content area, like this:
There are no other shortcode attributes necessary (actually even width and height aren’t necessary as they default to 640 x 480 px when they are omitted), but you may add a src and a poster attribute to ensure normal shortcode functionality when Switch Video Quality is not used or deactivated.
Select the checkbox Turn on/off to activate the plugin for the current post.
In the playlist item box enter some information about your video such as titles, names, locations, dates or an external link. This information will be displayed in the playlist and in the information overlay of the video player.
Upload a poster image or select one from the media library
Upload your videos with different resolutions and/or different formats (mp4, webm or ogv).
You can select multiple video files in the media library and add them to the current playlist item all at once.
The order of the files (quality levels) doesn’t matter as they will be sorted by their height value when they’re loaded into the player. The quality level that is closest to (but – to avoid upscaling – not smaller than) the player’s size will be loaded as default.
All video details (URL, label, duration) are inserted automatically, but you can change the default label text to whatever you like (e.g., low, medium, high)
If your video files are hosted on an external server, enter the URLs manually (the plugin will try to fill out the other fields automatically)
To add another playlist item, click on the plus icon at the top of the current playlist item box
To change the order of the playlist items, click on the playlist position number and drag and drop the box below or above another one.
When you click on the title of the box, this box gets expanded (content is shown) and all others will be collapsed. You can collapse all boxes by clicking on the title of an open one (makes rearranging of the boxes easier).
Empty a playlist item box by clicking on the rubber icon, remove the whole box completely by clicking on the X icon (not possible when there is only one box left)
