Ruby on Rails Wednesday, July 13, 2016

After understanding the tutorial:
https://www.pubnub.com/blog/2015-12-08-building-video-sharing-app-server-messaging-ruby/
I have a problem.

I need to open ogv and webm files and i get this:

Command :: file -b --mime '...'

looking for a solution to this problem, I read that is necessary to add
the audio format in mime_types.rb.

Mime::Type.register "video/ogg", :ogv
Mime::Type.register "video/webm", :webm

but I still have the same problem. Any solution?
Regards

--
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 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/5c1c95c987821287fe0db5964bd773e6%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment