[Rails] Use .ogv videos with Rails
Hello, I'm trying to read .ogv files in my rails application and have
a problem with ff, it won't load the video but will show a big X
instead. After googling for a while I found out the mime types can be
a problem with FF and add the following lines into my /config/
initializers/mime_types.rb file according to what I red in this site
http://9elements.com/io/?p=306:
Rack::Mime::MIME_TYPES.merge!({
".ogv" => "video/ogg",
".webm" => "video/webm",
".mp4" => "video/mp4"
})
But still no changes. I'm using rails 2.3.5 in development mode.
Any idea?
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home