play mp4 video and cascade

pipequeno's Avatar

pipequeno

10 Feb, 2016 08:41 PM

Would you know if mp4 video is supported by Cascade ?

  1. 1 Posted by Ryan Griffith on 11 Feb, 2016 01:28 PM

    Ryan Griffith's Avatar

    Hi,

    Currently, mp4 is not a registered MIME type so Cascade will most likely serve the file with an incorrect MIME type during rendering. The browser may be able to detect the correct MIME, but that's a long shot.

    What you will need to do is manually add the MIME type so Cascade knows how to serve the file. Once this has been done, it would be up to the browser to determine how to serve it to you.

    To register the MIM type:

    • Locate the mime-mappings.xml file within the tomcat\webapps\ROOT\WEB-INF\classes\com\hannonhill\cascade\model\render\mime directory
    • Add a new mapping as follows:
      <mapping>
      <extension>mp4</extension>
      <value>video/mp4</value>
      </mapping>
      
    • Save the file and restart Cascade

    Note: this file is replaced during upgrades, so you will need to re-apply the change after upgrading.

    Looking forward, we will be adding a number of MIME types in Cascade 8, including mp4.

    Please let me know if you have any questions.

    Thanks!

  2. 2 Posted by pipequeno on 12 Feb, 2016 05:28 PM

    pipequeno's Avatar

    Hello Ryan,
    Let me try this and confirm,
    thanks for the info.

  3. 3 Posted by Ryan Griffith on 12 Feb, 2016 09:09 PM

    Ryan Griffith's Avatar

    Not a problem at all, please keep me posted on your findings.

    Have a great day!

  4. 4 Posted by pipequeno on 12 Feb, 2016 10:56 PM

    pipequeno's Avatar

    Hello Ryan,
    When uploading my mp4 file to cascade, I keep getting file character encode issues. Does cascade renders mp4s? or is this normal?, I have not publish the file yet.

  5. Support Staff 5 Posted by Tim on 15 Feb, 2016 02:45 PM

    Tim's Avatar

    Hi,

    Ryan is out of the office at the moment so I figured I'd chime in here. You mentioned:

    I keep getting file character encode issues

    Can you describe this behavior in more detail or provide a screen shot? Are you just saying that viewing the file after uploading it in Cascade shows a bunch of character content as opposed to displaying the video?

    If you're still having trouble after running through the steps Ryan provided above, feel free to attach a copy of your mp4 file here (if under 10MB) and I'll be happy to try it locally.

    Thanks

  6. 6 Posted by Ryan Griffith on 04 Mar, 2016 10:09 PM

    Ryan Griffith's Avatar

    Hi,

    Just wanted to follow up to see if you had a chance to view Tim's recent comment.

    Please let us know if you have any questions.

    Thanks.

  7. Tim closed this discussion on 22 Mar, 2016 06:53 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac