I am having an issue hosting MP4 files on my Rails application server. I am using Ubuntu / Apache / Passenger / Rails 4.2.latest, all defaults in the production.rb config file (so Apache is handling the public folder) and I have placed my video files in a subfolder of the public folder. The link to the file is correct, but the video container just sits there at Loading... and never plays. The poster frame (in the same folder as the video file) is displayed correctly. I have tried adding an .htaccess file with the AddType directive for mp4 format, but that does not work either. Do I need to add this mime type to Rails for some reason?
Thanks in advance,
Walter
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7E62DBE1-E992-4A69-8C65-D3F45DE5E606%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment