Unable to set mime-types for Rackspace Cloud files robot

Archived from the Transloadit support forum. Originally posted on October 28, 2013; details may be outdated, see our docs for current behavior. Original thread

Mime-type: “Video/mp4” is necessary for HTML5 video to play seamlessly on major browsers. It seems that since we are unable to set this from within the templates, the video files transcoded by Transloadit are stored as they are, without any attached mime-types. Hence, we get the popular “Video file not found” error while trying to play these files, even through third party (Web) video players.

Solution:

Try to automatically integrate this into your Cloudfiles robot, or please give us some kind of provision to do this ourselves programatically. Rackspace claim that they do it automatically upon each new upload, but I highly doubt that.

Thanks!

Hi Kenneth,

I’m currently using transloadit with cloudfiles (uk) and mime types are defined correctly. If you check your cloudfiles account file header (instead of browser debug) do you have correct mime type?
Here goes my cloudfiles screenshot in attach.

Hope it helps.

Best,
Francisco Azevedo

I see them too, but this happens randomly for some reason :confused: Should I try moving everything to Amazon S3?
Chrome, Mac OS X Lion.

Sounds very strange.
Maybe you should give an example to transloadit support.

I really never saw that happening.

best,
Francisco Azevedo

Hm that’s weird, you are the first to report this and to be honest I don’t know where to start the investigation.

Is a move to Amazon S3 an option for you?

Hi Tim, I think it’s Rackspace that’s incompetent. I will make a switch to
S3, since this is not the only issue, I also get an cloudfiles access denied sometimes :frowning:

http://ru.wordpress.org/ - WP error

Hm okay, too bad. : /

Switching to S3 seems like a good idea anyway. Closing this ticket for now.