[WordPress] 外掛分享: QTVR Viewer

前言介紹

  • 這款 WordPress 外掛「QTVR Viewer」是 2009-06-09 上架。
  • 目前有 80 個安裝啟用數。
  • 上一次更新是 2012-01-09,距離現在已有 4863 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.1 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

fierodeval |

外掛標籤

VR | 360 | QTVR | viewer | panorama |

內容簡介

此外掛可將全景播放器插入 WordPress 文章中,以查看 360 度 QTVR 格式 (.mov) 的全景照片

要查看 QTVR 檔案 (.mov),需使用支援此類檔案的瀏覽器外掛程式,
此 WordPress 外掛使用 QuickTime http://www.apple.com/quicktime/ 或 DevalVR http://www.devalvr.com

此 WordPress 外掛基於 Javascript 代碼 “detectvr.js”,此解決方案用於自動偵測
用戶電腦中的瀏覽器外掛程式。如果 QuickTime 存在,則使用 QuickTime (此
插件存在於所有 Mac 電腦和 65% 的 Windows 電腦中)。
如果 QuickTime 不存在,則會顯示消息以允許用戶安裝 DevalVR 插件,這是一個非常
高質量和性能的微型 Windows 插件 (約 0.3 MB)。

可以定義選項在檢視器中,以允許用戶選擇首選的瀏覽器外掛程式。

用法

要將播放器插入文章中,請在文章文本中撰寫以下語句:

{qtvr filename width height}

將參數「filename」替換為 MOV 檔案名稱,「width」和「height」參數替換為以像素為單位的播放器窗口大小。例如:

{qtvr panorama.mov 460 300}

MOV 文件的基礎文件夾為 WordPress 安裝的內容文件夾(預設為 /wp-content/)。
例如,如果您編寫:{qtvr pictures/panorama.mov 460 300},則該文件應位於 /wp-content/pictures/panorama.mov 中。

也可以使用絕對 URL,例如:

{qtvr http://www.devalvr.com/panos/mansion1.mov 460 300}

可以使用 devalvr() 和 qt() 函数定義 DevalVR 或 QuickTime 的任何參數。
參數必須在引號之間,用逗號分隔並成對的以名稱-值形式書寫。
可以定義任意數量的參數。DevalVR 可用的參數:http://www.devalvr.com/paginas/soporte/parameters.html

例如:

{qtvr panorama.mov 460 300 devalvr(“autoplay”,”2″,”autoplayspeed”,”-6″) qt(“controller”,”false”)}

可以在播放器下面插入一些選項,以允許用戶選擇他喜歡的瀏覽器外掛程式。使用 selection()
函數。此功能可以有多個參數,以逗號分隔。第一個參數是選項前要寫的文字,
下一個參數必須是以下預定義單詞之一:detect、devalvr、qt、links、combobox

例如:

{qtvr panorama.mov 460 300 devalvr(“autoplay”,”2″) qt(“controller”,”false”) selection(Choose viewer:, detect, devalvr, qt)}

預覽圖片:

可以使用函數「preview(filename)」定義一個圖像,以在播放按鈕下面顯示。

{qtvr panorama.mov 460 300 preview(image.jpg)}

預覽圖像的基礎文件夾為 WordPress 安裝的內容文件夾 (預設為 /wp-content/)。
例如,如果要編寫:{qtvr panorama.mov 460 300 preview(pictures/image.jpg)},則該文件應在 /wp-content/pictures/image.jpg 中。

原文外掛簡介

This plugin inserts a panoramic player into a WordPress article to view a 360 panoramic picture in QTVR format (.mov)
To view a QTVR file (.mov) it’s required a browser plugin that supports this type of files,
this WordPress plugin uses QuickTime http://www.apple.com/quicktime/ or DevalVR http://www.devalvr.com
This WordPress plugin is based in the Javascript code “detectvr.js”, this workaround is used to autodetect
the browser plugin present in the user computer. If QuickTime is present, then QuickTime is used (this
plugin is present in all Mac computers and 65% of Windows computers).
If QuickTime is not present, then a message is shown to allow the user to install DevalVR plugin, this is a very
small plugin for Windows (about 0.3 MB) of high quality and performance.
It’s possible to define an option in the viewer to allow the user to choose the preferred browser plugin.
Usage
To insert the player into the article write the next statement in the text of the article:
{qtvr filename width height}
Replace the parameter “filename” by the MOV file name and the “width” and “height” parameters by the size in pixels
of the player window. Example:
{qtvr panorama.mov 460 300}
The base folder for the MOV files is the content folder of your WordPress installation (by default /wp-content/)
For example, if you write: {qtvr pictures/panorama.mov 460 300} , the file should be in /wp-content/pictures/panorama.mov
You can use absolute URLs too, for example:
{qtvr http://www.devalvr.com/panos/mansion1.mov 460 300}
It’s possible to define any parameters for DevalVR or QuickTime, with the help of the functions devalvr() and qt() respectively.
The parameters must be written between the parentheses, between quotation marks, separated by commas, and in pairs name-value.
Any number of parameters can be defined. Available parameters for DevalVR: http://www.devalvr.com/paginas/soporte/parameters.html
Example:
{qtvr panorama.mov 460 300 devalvr(“autoplay”,”2″,”autoplayspeed”,”-6″) qt(“controller”,”false”)}
It’s possible to insert some options bellow the viewer to allow the user to choose his preferred browser plugin. Use the selection()
function. This function can have several parameters, separated by commas. The first parameter is the text that will be written
before the selection options, the next parameters must be any of these predefined words: detect, devalvr, qt, links, combobox
Example:
{qtvr panorama.mov 460 300 devalvr(“autoplay”,”2″) qt(“controller”,”false”) selection(Choose viewer:, detect, devalvr, qt)}
Preview images:
It’s possible to use the function “preview(filename)” to define an image to show under the play button.
{qtvr panorama.mov 460 300 preview(image.jpg)}
The base folder for preview images is the content folder of your WordPress installation (by default /wp-content/)
For example, if you write: {qtvr panorama.mov 460 300 preview(pictures/image.jpg)} , the file should be in /wp-content/pictures/image.jpg

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「QTVR Viewer」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.1 | 1.2 | 1.3 | 1.5 | 1.5.1 | 1.5.2 | 1.5.3 | trunk |

延伸相關外掛(你可能也想知道)

  • FPP-Pano 》這個外掛可以輕鬆地在你的 WordPress 博客中嵌入全景場景。如果你擁有 Flash Panorama Player(可在 http://flashpanoramas.com/player/ 上購買),你只需要...。

文章
Filter
Apply Filters
Mastodon