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 (
commit 148536542b6ac7526221ed2c61ac248a0636d1bc
tree f8fa2c06739daab816ba803295c7bac4c4ae7058
parent fa29ecd41c310323c21b2a6c101af63be36e536b
tree f8fa2c06739daab816ba803295c7bac4c4ae7058
parent fa29ecd41c310323c21b2a6c101af63be36e536b
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/








