Ruby on Rails Sunday, January 2, 2011

On 2 January 2011 05:07, Ralph Shnelvar <lists@ruby-forum.com> 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment