quicktime_helper Plugin

Plugin #2. I built another helper to fulfill my need to embed Quicktime videos. Like the DRY developer I try to be, I decided I'd make a nice little plugin out of it. I took it even further by incorporating Geoff Stearns' great javascript Quicktime object, qtobject.

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} )

More Info: http://github.com/maddox/quicktime_helper/tree/master
Install


git clone git://github.com/maddox/quicktime_helper.git vendor/plugins/quicktime_helper

Popularity: 5% [?]

You can skip to the end and leave a response. Pinging is currently not allowed.

4 Thoughts

  1. I've tried to inovke the script using this line on ROR:

    < %= quicktime_tag(:path_to_video_file => post.image_url, :id => post.id, :width=> "480", :height=> "220", {:loop => false, :autoplay => false} ) %>

    It takes the ID & path to video from the db. For some reason is not working correctly. Could you let me know what I'm doing wrong?

    Thanks

  2. try:

    try

    <%= quicktime_tag(post.image_url , post.id, 480 , 220, {:loop =>
    true, :autoplay => false} ) %>
    

  3. Got the same problem here.. no errors but no movie either

  4. Hi,

    I ve discovered you Quictime_helper which seems to be great.. i would like to know if you realized something equivalent with the flashobject (or swfobject)...

    And using your quicktime_helper, is there a parameters for redirecting the user to an other action if quicktime is not present.?

    Thx a lot in advance,
    regards

    Guillaume.

Share Your Thoughts?

Please excuse my captcha. But the internets require it these days. Comment triage isn’t billable.