This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README | ||
| |
init.rb | ||
| |
install.rb | Mon Sep 11 17:31:50 -0700 2006 | |
| |
lib/ | ||
| |
public/ | ||
| |
tasks/ | Mon Sep 11 17:31:50 -0700 2006 |
README
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 = {} ) %> You can also use a placeholder image by adding :placeholder to the options hash. Pass in a path to an image and you're Quicktime video will be preceded with a placeholder image, click it to start the movie. You know, just like Apple Trailers. <%= quicktime_tag(:path_to_video_file, :id, :width, :height, {:placeholder => "/images/click-to-play.gif", :loop => true, :autoplay => false} ) %> 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/








