Plugins - Quicktime Helper

StarAdd to favorites

QuicktimeHelper

=========

Jon Maddox jon@jonsthoughtsoneverything.com http://www.simplisticcomplexity.com

The quicktime helper makes use of Geoff Stearns’ qtobject.js to give you a standards compliant way to embed Quicktime in your page. It also provides friendly detection.

After including the ‘qtobject.js’ file in your view, using the quicktime_tag helper is simple:

<%= quicktime_tag(:path_to_video_file, :id, :width, :height, options = {} ) %>

Extra parameters that are used by the quicktime embed object can be added using the options hash. For Example:

<%= quicktime_tag(:path_to_video_file, :id, :width, :height, {:loop => true, :autoplay => false} ) %>

use ‘rake update_quicktime_script’ if the javascript didn’t get placed in /public/javascripts.

qtobject.js was masterfully created by Geoff Stearns http://blog.deconcept.com/2005/01/26/web-standards-compliant-javascript-quicktime-detect-and-embed/

Jon Maddox

http://www.simplisticcomplexity.com/2006/9/12/quicktime_helper-plugin

http://code.jtoe.net/rails/plugins/quicktime_helper

Rails' (MIT)

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

View Extensions

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?