On 2 January 2011 05:07, Ralph Shnelvar <[email protected]> wrote:
> 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.

I believe this is a matter of how the browser is setup rather than your webpage.

Colin

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