I have the following HAML code

  ul{ 'id' =>  tutorials_ul }
    %li
      %a{'href' => '/videos/create-command-001.swf'}
        'Edition swf'
    %li
      %a{'href' => '/videos/create-command-001.flv'}
        'Edition flv'

When the user clicks on 'Edition swf' the video plays nicely in
both FireFox and IE8.  The video replaces the contents of the webpage.
Clicking the back button restores the webpage.   This is exactly the
behavior I want.

When the user clicks on 'Edition flv' all that happens is that the video
downloads (without asking!) without playing.

How can I get the flv to behave like the swf?

- - - -

I have found
  https://github.com/nazar/jw-playr-hlpr
and downloaded and installed the plugin.

This gets me close ... but it embeds the video rather than doing what
swf does.

I guess I could create new webpages ... but I prefer the way
  %a{'href' => '/videos/create-command-001.swf'}
    'Edition swf'
does it.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to