[WordPress] 外掛分享: SWFPut – SWFlash Put

首頁外掛目錄 › SWFPut – SWFlash Put
WordPress 外掛 SWFPut – SWFlash Put 的封面圖片
30+
安裝啟用
尚無評分
2044 天前
最後更新
問題解決
WordPress 4.3+ v3.1.0.1 上架:2013-07-27

內容簡介

SWFPut 提供文章和頁面的「回應式」視頻。

SWFPut 使得視頻的呈現對您的訪客具有可靠性:它處理如下幾個方面的條件,例如主要瀏覽器中 HTML5 視頻格式的支援不均、訪客的瀏覽器可能不支援 HTML5 視頻或 Flash 視頻,甚至可能 JavaScript 在訪客的瀏覽器中被禁用。

除了文章和頁面的視頻,SWFPut 還提供了一個可用於部件區域 (如側邊欄) 的視頻小工具。

SWFPut 視頻是「回應式」的:它會在您的訪客裝置上以適當的大小顯示,無論設備大小(需要回應式 WordPress 主題)。

SWFPut 通過提供一個易於對話框架式的設定,以及一個高級的表單界面,使得設置視頻容易且靈活,且基於類似 WordPress 核心媒體的操作方式,並且出現在編輯頁面的新「metabox」中。對於小部件,表單畫面會顯示具有通常的拖放小部件界面。添加視頻對象後,該表單仍將有助於進行更改(或者,如果您希望,可以刪除視頻)。

在 WordPress 3.3 版及更高版本中,由 SWFPut 添加的視頻將在文章/頁面視覺編輯器中可見。

在文章頁面上可以放置您想要的任意數量的視頻對象,當然該小部件支持任意數量的實例。

您可以指定 HTML5 或 Flash 視頻,或兩者兼備,其中一個是主要內容,另一個為後備。

以下是您應該考慮 SWFPut 的一些功能:

SWFPut 直接使用媒體文件 URL,即 SWFPut 不會嵌入 YouTube 或 Vimeo 等提供者的視頻播放器。 SWFPut 適用於通過 URL 訪問的視頻文件,無論是在您的網站上還是在外部網站上。 設置表單提供了兩個媒體選擇列表。 第一個是選擇在 wp-content/uploads 目錄下找到(遞歸)的文件列表。 這個列表的優點是它不使用 WordPress 媒體庫 - 它會找到您手動上傳的文件(使用FTP,SSH等)。 此功能將繞過可能阻止您將大型視頻文件上傳到媒體庫的上傳大小限制。 第二個是在 WordPress 媒體庫中找到的文件列表,並顯示文件名和“附件 ID”。 這是通過 ID 引用文件,因此如果您操作媒體並期望 ID 選項有效,則這可能有幫助。 文件選擇根據名稱擴展名進行過濾:Flash 的 FLV 和 MP4,HTML5 視頻的 MP4、OGG 和 OGV,以及 WEBM。
視頻資源不需要在您的網站上:可以指定任意 URL,因此您可以為來自外部網站的第三方資源提供播放器。
SWFPut 不會影響網站的外觀:視頻的呈現方式就像圖像(.png 或 .jpg) 一樣,具有相同類型的樣式和可選標題描述。 視頻控件界面的外觀或控制欄非常簡單且安靜,因此不會與網站設計相衝突。
SWFPut 允許您為視頻設置顯示比例。 一些視頻是畸變的...

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.1.0.1) 或搜尋安裝

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

原文外掛簡介

SWFPut provides ‘responsive’ video for posts and pages.
SWFPut makes the presentation of video reliable for your
visitors: several conditions are handled well, such as
the uneven support for HTML5 video formats in the major
browsers, the possible lack of support for either HTML5
video or flash video in the visitor’s browser, and even
the possiblilty that JavaScript might be disabled in your
visitor’s browser.
In addition to video for posts and pages, SWFPut provides
a video widget for use in widget areas, such as a sidebar.
SWFPut video is ‘responsive’: it should display at a
suitable size on your visitor’s device, whether large
or small (a responsive WordPress theme is necessary).
SWFPut makes video setup easy and flexible by providing
an easy dialog based setup similar to (and based on)
that used by WordPress core media, and also an
advanced form with additional settings, which
appears in a new “metabox”
on the editor page. For widgets, the form appears with
the usual drag and drop widget interface. After adding
video objects, the form will continue to be useful for
making changes (or, if you wish, to delete the video).
In WordPress versions 3.3 and greater, video added by
SWFPut will be visible in the post/page visual editor.
As many video objects as you wish can be placed in posts
pages, and of course the widget supports as many instances
as you wish.
You may specify HTML5 or flash video, or both with one
being primary content and the other as fallback.
Here are some features of SWFPut to consider:

SWFPut works directly with media file
URL’s; that is, SWFPut does not embed
the video players of providers such as YouTube or Vimeo.
SWFPut is for video files which are accessible by URL,
whether hosted at your site or off-site.
The setup form provides two media selection lists.
The first is a selection of files found (recursively)
under your wp-content/uploads directory. This list
has the advantage that it does not use the
WordPress media library — it will find files that
you upload ‘by hand’ (with ftp, ssh, etc.). This feature
will work around upload size limits that might prevent
you from uploading large video files to the media library.
The second is a selection of files found in the
WordPress media library and is presented with the
file name and the ‘attachment id’. This refers to files
by ID, so it might be helpful if you manipulate media
and expect ID associations to be valid. Files selections
are filtered by name extension: FLV and MP4 for flash,
and MP4, OGG and OGV, and WEBM for HTML5 video.

Video resources do not need to be on your site:
any URL can be specified, so you may present players
for off-site of 3rd party resources.

SWFPut does not interfere with the appearance of
a site: a video is presented jsut as an image
(such as .png or .jpg) is, with the same sort of
style, and optional caption. The appearance of the
video control interface, or control bar, is simple
and quiet so it should not clash with site design.

SWFPut allows you to set the display aspect ratio
for the video. Some video is ‘anamorphic’ in that
the pixel width and height do not match the intended
proportion of display width and height. You might
film your child’s school play as 16:9 ‘widescreen’
but use a space saving feature of your recorder that
saves the video at 480×360 (which is not 16:9). You can
set SWFPut to display the video at the intended 16:9
aspect ratio. You may set any aspect ratio (make it
distorted if you wish).

The core features of the flash video player program
included with SWFPut have been verified to work with
the Gnash free-software browser plugin, which is good
if you care about free/libre software users. (At the
time of this writing, Gnash does not handle the MP4
video container format, so it is preferable that you
prepare flash video in the FLV container, even using the
h.264 and AAC codecs. Of course, you may use MP4 if
you must.)

The flash video player program included with SWFPut
is written and compiled with the Ming PHP extension,
and the code is included, so you may modify the player.
The HTML5 player is written JavaScript, and the original,
un-minified version is included, so you may modify it.
In fact, the zip archive available at the WordPress
repository includes all sources, although a POSIX/Unix
environment with certain tools is required to build.

Localization sources are included; hopefully, polyglot
users will help with translations.

延伸相關外掛

文章
Filter
Mastodon