Ruby on Rails Thursday, December 30, 2010

Sent from my iPhone

On Dec 30, 2010, at 1:49 AM, dare ruby <lists@ruby-forum.com> wrote:

> Conrad Taylor wrote in post #971410:
>> On Wed, Dec 29, 2010 at 9:39 PM, dare ruby <lists@ruby-forum.com> wrote:
>>
>>> also,
>>> Also for your reference when i tried to run like,
>>>
>> Dare, I was able to put together Rails 3.0.3 application using Ruby
>> 1.9.2
>> without any issues. Furthermore, I didn't have to play with mime type
>> because this handle by default in Webrick and Nginx. However, this may
>> not be the case with your configuration. Here's my file:
>>
>> <!DOCTYPE html>
>> <html>
>> <head>
>> <meta charset="utf-8">
>> <title>Some Video</title>
>> </head>
>> <body>
>> <div id="demo-video-flash">
>> <video id="demo-video" poster="snapshot.jpg" controls>
>> <source src="/videos/4.mp4" type="video/mp4" /> <!-- MPEG4 for
>> Safari -->
>> <source src="/videos/4.ogg" type="video/ogg" /> <!-- Ogg Theora
>> for
>> Firefox 3.1b2 -->
>> </video>
>> </div>
>> </body>
>> </html>
>>
>> Good luck,
>>
>> -Conrad
>
>
> i have installed rails 3.0.3 and tried the above said example but same
> problem...
>
> Am missing something....

Is the HTML file an ERB template that lives in the Rails views directory? What web server are you using?

-Conrad

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

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