Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mp4 webm ogg #551

Closed
manuchap opened this issue Nov 4, 2012 · 2 comments
Closed

mp4 webm ogg #551

manuchap opened this issue Nov 4, 2012 · 2 comments

Comments

@manuchap
Copy link
Contributor

manuchap commented Nov 4, 2012

Hi, I'd like to implement Sublimevideo player in my loco sites. It works fine with the example files served from sublime but I wish I could upload different file formats (mp4-m4v-ogv-webm) to my sites. I tried their troubleshooting solutions to add mime types to my server (apach-fcgi) either in httpd.conf or .htaccess with no avail. I tried adding file types to mime_types.rb but it broke everything. Any clue or alternative for site-hosted videos compatible with every platform?

See issue here: http://testing.studiowan.fr/
The first video is hosted on my server (doesn't play in html5 mode).
The second is the example delivered by sublime (works as expected).

@gravityrail
Copy link

I tried this myself, and I ended up creating my own model called Video and
then extending the engine to handle Video uploads direct to S3. This allows
me to do transcoding directly from/to S3 using Zencoder.

You can find my branch with video support here:
https://github.com/gravityrail/engine

I have a separate (proprietary, so I can't share it) front-end which
defines some extensions to the custom_fields gem which allows me to add
Video fields to ContentTypes, and also adds some liquid filters and tags
for rendering videos using Video.JS. Works pretty well.

Cheers,
Dan

On 4 November 2012 10:22, Manu notifications@github.com wrote:

Hi, I'd like to implement Sublimevideo player in my loco sites. It works
fine with the example files served from sublime but I wish I could upload
different file formats (mp4-m4v-ogv-webm) to my sites. I tried their
troubleshooting solutions to add mime types to my server (apach-fcgi)
either in httpd.conf or .htaccess with no avail. I tried adding file types
to mime_types.rb but it broke everything. Any clue or alternative for
site-hosted videos compatible with every platform?


Reply to this email directly or view it on GitHubhttps://github.com//issues/551.

@did
Copy link
Member

did commented Nov 20, 2012

hey guys, take a look at this this link:
carrierwaveuploader/carrierwave#284 (comment).
Looks like by default, carrierwave does not set the content type. weird...

@gravityrail, your video field sounds awesome !

did added a commit that referenced this issue Nov 20, 2012
@did did closed this as completed Nov 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants