前言介紹
- 這款 WordPress 外掛「External "Video for Everybody"」是 2010-03-10 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 50 個安裝啟用數。
- 上一次更新是 2018-03-05,距離現在已有 2617 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.8 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
ogg | flash | HTML5 | video | theora |
內容簡介
重要提示:此外掛專門用於操作存儲於 WordPress 網站外的媒體文件。它不支援媒體庫,也無法建立媒體文件。
「外部『為所有人提供的視頻』」是一個 WordPress 外掛,可用於在網站上顯示視頻。在頁面中輸入簡單的短碼,外掛會生成供媒體播放的 HTML。支援 HTML5 標籤的瀏覽器會顯示 MPEG / H.264(.mp4)文件、VP8 / webm(.webm)文件或 Ogg / Theora(.ogv)文件。其他瀏覽器可以使用 Flash 播放 .mp4 文件。在所有情況下,標記都包含下載媒體文件的鏈接。HTML 在不多變的情況下直接從「為所有人提供的視頻」模板中生成。詳細信息請參閱該網站。
用戶可以選擇使用 VideoJS JavaScript庫,將其視頻配備具有全屏選項的吸引人的控件集。
此外掛不適用於所有人,即使視頻的主題可能適用於所有人。如果我沒有自己的外掛,我可能會使用 Pavel Soukenik 的可下降式 HTML5 音頻和視頻外掛。我的外掛使用和遵循「為所有人提供的視頻」方法。我還提供一個選項頁面,您可以在其中定義整個網站的默認路徑和尺寸。默認值可以在任何特定的短碼中被覆蓋,但是如果大多數視頻都存儲在同一地方並且具有一致的尺寸,則整個網站的默認值使短碼保持簡單。 Soukenik 的短碼讓您對播放選項進行更多控制。
重要提示:大多數自動緩衝問題已解決,但有些較舊的瀏覽器和版本支援自動緩衝偏差。根據您在單個頁面上提供的電影數量以及其大小,自動緩衝可能會顯著減慢客戶端瀏覽器的速度,並且還可能影響您的帶寬。
有關 HTML5 中自動緩衝的討論請參閱:http://daringfireball.net/2009/12/html5_video_unusable
使用方法:
最小短碼格式為:
[external-vfe name="VIDEO"]
其中 VIDEO 是您的視頻簡單名稱(不帶任何文件擴展名)。
name 參數是唯一必填屬性。其他可選屬性包括:
- 寬度(以像素為單位)
- 高度(以像素為單位)
- path(您存儲視頻文件的文件夾的 URL)
- query(在 URL 中跟隨文件名的查詢;應以「?」開頭)
- include_poster(將海報屬性包含在視頻標記中,設置為「true」)
- webm_download(在下載列表中包含指向 webm 文件的鏈接)
- poster_extension(png、jpg 或 gif)
- swf_file(您的 Flash 播放器地址)
- vjs(設置為「true」以提供具有全屏選項的吸引人的視頻控制)
- file_detector(嘗試檢測遠程文件,如果為「true」)
- access_cookie(如果需要簡單的 cookie 來訪問遠程文件)
上述所有內容也可以在選項頁面(Media > External VfE)上設置為默認值。
選項頁面還包括兩個無法替換單個視頻的參數。
原文外掛簡介
Important: This plugin is designed to operate on media files hosted
outside your WordPress site. It does not integrate with the Media library,
and it does not create the media files.
External “Video for Everybody” is a WordPress plugin that you can use to show
videos on your WordPress site. You enter a simple shortcode on your page, and
the plugin generates the HTML to deliver the media. Browsers that understand
the HTML5 tag will display MPEG/H.264 (.mp4) files, VP8/webm (.webm), or Ogg/Theora (.ogv) files. Other browsers can use Flash to play the .mp4. In all cases, the
markup includes links to download the media files. The HTML comes with
only minor variations straight from the Video for
Everybody model. See that site for fuller details.
Users can optionally use the
VideoJS JavaScript library to outfit their videos
with an attractive set of controls that includes a full screen option.
This plugin is not for everybody, even if the video tries to be. If I were not
writing my own plugin, I would probably be using the Degradable HTML5 audio
and video Plugin by Pavel Soukenik. My plugin uses and will follow the Video for
Everybody
approach. I also offer an options page where you can define site-wide default paths and dimensions. The defaults can be overridden in any particular shortcode, but if most of your video resides in the same place and has consistent dimensions, site-wide defaults keep the shortcodes simple. Soukenik’s
shortcodes give you more control over playback options.
Important: Most autobuffering problems have been settled, but
preloading (autobuffering) preferences are supported unevenly in some
older browers and versions of browsers. Depending on how many movies you
serve on a single page, and on how large they are, autobuffering can
significantly slow your clients’ browsers, and it can also hit your bandwidth.
For a discussion of autobuffering in html5 see:
http://daringfireball.net/2009/12/html5_video_unusable
Usage
A minimal shortcode takes the form
[external-vfe name="VIDEO"]
where VIDEO stands for the simple name of your video (without any file
extension).
name is the only required attribute. Optional attributes are:
width (in pixels)
height (in pixels)
path (URL to the folder where you host your video files)
query (to follow the file name in the URL; should start with “?”)
include_poster (set to “true” to include a poster attribute in the video tag)
webm_download (include a link to a webm file in the list of downloads)
poster_extension (png, jpg, or gif)
swf_file (The address to your Flash player)
vjs (set to “true” to provide attractive video controls with full screen option)
file_detector (try to detect remote files if “true”)
access_cookie (if you need a simple cookie to access the remote files)
All of the above can also be set as defaults on the options page under:
Media > External VfE
The options page also includes two parameters that cannot be overridden for
an individual video:
the ability to disable VideoJS so that the JavaScript and the style sheet will not load at all
the option to disable the built-in style sheet
See the plugin home page for more details:
http://open.pages.kevinwiliarty.com/external-video-for-everybody/
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「External "Video for Everybody"」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 1.0 | 2.0 | 2.1 | 0.4.6 | 0.4.7 | 0.7.1 | 0.9.1 | 2.1.1 | 2.1.2 | 2.3.0 | 2.3.1 | trunk |
延伸相關外掛(你可能也想知道)
PB oEmbed HTML5 Audio – with Cache Support 》這個外掛使用 WordPress 用於其他用途(例如YouTube視頻等)的 oEmbed 技術,為文章和頁面添加了放置音頻文件的功能。音頻文件使用 HTML5 音頻標籤嵌入,對於...。
Dynamic Audio Player Basic 》提供一個帶有動態播放清單和短代碼的音訊播放器小工具。, 當瀏覽網頁時,曲目會持續播放。, 您可以在 dynamicaudioplayer.com 找到示例和詳細描述。, 還有一...。
Wayne Audio Player 》Wayne音頻播放器是一款jQuery外掛,可串流MP3並固定在頁面底部。它會建立自定文章類型來輕鬆管理歌曲和播放清單。此播放器具備響應式設計,可以在所有螢幕大...。
Total Control HTML5 Audio Player Basic 》總控制 HTML5 音頻播放器是一個有 jQuery 外掛的流媒體音頻播放器,具備一個易於管理的播放列表。播放列表可以拖放來重新排列曲目順序。同時,用戶可以在啟用...。
itheora in wordpress 》使用這個外掛可以使用包含在內的 iheora script 在您的網誌上添加 theora 影片。, iheora 是一個 PHP script,允許您廣播只有 ogg/theora/vorbis 影音檔案。...。