QTVR Viewer  -  WordPress plugin

This plugin for WordPress inserts a player into the article content to view a QTVR file.

Download the latest version here:   QTVR Viewer.zip 

or in the WordPress repository:  http://wordpress.org/extend/plugins/qtvr-viewer/

 

Example

See an example here: http://www.devalvr.com/?p=45

If you need some QTVR files to test this plugin in your WordPress blog, download this package QTVRsamples.zip (1.5MB)

Description

This plugin is used to insert 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 these 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 300KB) 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.

 

Installation

1. Upload `qtvr-viewer.zip` to the `Install Plugins` section of WordPress
2. Activate the 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} , then the file should be in /wp-content/pictures/panorama.mov

You can use absolute URLs too:

{qtvr http://www.yourdomain.com/pictures/panorama.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)}  

 

 

ChangeLog

- Version 1.1  ( 08 - July - 2009 )
    Fixed a problem with path of Javascript file

- Version 1.0  ( 09 - June - 2009 )
    First version of the plugin. Support for DevalVR + QuickTime plugins, with parameters and plugin selection.