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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
CiriusMex wrote:> 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?Is ff (Firefox?) displaying ogv videos from other sites correctly? Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hello Marnen, Yes, I made a test using this video link http://v2v.cc/~j/theora_testsuite/320x240.ogg and Firefox displayed it just fine, then uploading the same file to the server where we host the site and updating the url, the video won''t be displayed. The problem only occurs with html5 player (FF 3.6.10), I use a flash fallback method with a mp4 file and it works great. On 6 oct, 15:14, Marnen Laibow-Koser <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Is ff (Firefox?) displaying ogv videos from other sites correctly? > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted viahttp://www.ruby-forum.com/.- Ocultar texto de la cita - > > - Mostrar texto de la cita --- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Please quote when replying. CiriusMex wrote:> Hello Marnen, > > Yes, I made a test using this video link > http://v2v.cc/~j/theora_testsuite/320x240.ogg > and Firefox displayed it just fine,With HTML 5 or Flash?> then uploading the same file to > the server where we host the site and updating the url, the video > won''t be displayed.With HTML 5 or Flash?> The problem only occurs with html5 player (FF 3.6.10), I use a flash > fallback method with a mp4 file and it works great.To Firefox, the Flash method is simply a Flash movie that it can hand off to the Flash plugin, and therefore is not relevant to the current issue -- it does not appear to the browser as an .ogv file. So...can Firefox play .ogv videos when served from other sites *as .ogv, not Flash*? Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
The .ogv file from other server is played in html5, the same file won''t be played on the server of the application still in html5. I think there''s a problem of access and that''s why I though about the mime types. On 6 oct, 16:12, Marnen Laibow-Koser <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Please quote when replying. > > CiriusMex wrote: > > Hello Marnen, > > > Yes, I made a test using this video link > >http://v2v.cc/~j/theora_testsuite/320x240.ogg > > and Firefox displayed it just fine, > > With HTML 5 or Flash? > > > then uploading the same file to > > the server where we host the site and updating the url, the video > > won''t be displayed. > > With HTML 5 or Flash? > > > The problem only occurs with html5 player (FF 3.6.10), I use a flash > > fallback method with a mp4 file and it works great. > > To Firefox, the Flash method is simply a Flash movie that it can hand > off to the Flash plugin, and therefore is not relevant to the current > issue -- it does not appear to the browser as an .ogv file. > > So...can Firefox play .ogv videos when served from other sites *as .ogv, > not Flash*? > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Any idea? I recreate the application in local and have the same problem. You can check it at http://tierramytica.info if you click on the Show Reel link. On 6 oct, 17:04, CiriusMex <cirius...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> The .ogv file from other server is played in html5, the same file > won''t be played on the server of the application still in html5. I > think there''s a problem of access and that''s why I though about the > mime types. > > On 6 oct, 16:12, Marnen Laibow-Koser <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > > > > > Please quote when replying. > > > CiriusMex wrote: > > > Hello Marnen, > > > > Yes, I made a test using this video link > > >http://v2v.cc/~j/theora_testsuite/320x240.ogg > > > and Firefox displayed it just fine, > > > With HTML 5 or Flash? > > > > then uploading the same file to > > > the server where we host the site and updating the url, the video > > > won''t be displayed. > > > With HTML 5 or Flash? > > > > The problem only occurs with html5 player (FF 3.6.10), I use a flash > > > fallback method with a mp4 file and it works great. > > > To Firefox, the Flash method is simply a Flash movie that it can hand > > off to the Flash plugin, and therefore is not relevant to the current > > issue -- it does not appear to the browser as an .ogv file. > > > So...can Firefox play .ogv videos when served from other sites *as .ogv, > > not Flash*? > > > Best, > > -- > > Marnen Laibow-Koserhttp://www.marnen.org > > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > > -- > > Posted viahttp://www.ruby-forum.com/.- Ocultar texto de la cita - > > - Mostrar texto de la cita --- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 7 October 2010 22:17, CiriusMex <ciriusmex-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Any idea? I recreate the application in local and have the same > problem. You can check it at http://tierramytica.info if you click on > the Show Reel link.The server there is serving up http://tierramytica.info/videos/galery1/big_buck_bunny.mp4 as application/octet-stream Your web server is probably serving up the file directly, and not going through Rack. If the mime type is indeed the issue, you''ll need to define it in your web server config as well, not just Rack''s config. Chris> On 6 oct, 17:04, CiriusMex <cirius...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> The .ogv file from other server is played in html5, the same file >> won''t be played on the server of the application still in html5. I >> think there''s a problem of access and that''s why I though about the >> mime types. >> >> On 6 oct, 16:12, Marnen Laibow-Koser <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> >> >> >> > Please quote when replying. >> >> > CiriusMex wrote: >> > > Hello Marnen, >> >> > > Yes, I made a test using this video link >> > >http://v2v.cc/~j/theora_testsuite/320x240.ogg >> > > and Firefox displayed it just fine, >> >> > With HTML 5 or Flash? >> >> > > then uploading the same file to >> > > the server where we host the site and updating the url, the video >> > > won''t be displayed. >> >> > With HTML 5 or Flash? >> >> > > The problem only occurs with html5 player (FF 3.6.10), I use a flash >> > > fallback method with a mp4 file and it works great. >> >> > To Firefox, the Flash method is simply a Flash movie that it can hand >> > off to the Flash plugin, and therefore is not relevant to the current >> > issue -- it does not appear to the browser as an .ogv file. >> >> > So...can Firefox play .ogv videos when served from other sites *as .ogv, >> > not Flash*? >> >> > Best, >> > -- >> > Marnen Laibow-Koserhttp://www.marnen.org >> > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org >> > -- >> > Posted viahttp://www.ruby-forum.com/.- Ocultar texto de la cita - >> >> - Mostrar texto de la cita - > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.