tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/21335-play-mp4-video-and-cascadeCascade CMS: Discussion 2016-03-22T18:53:01Ztag:help-archives.hannonhill.com,2010-02-09:Comment/391413382016-02-11T13:28:58Z2016-02-11T13:28:58Zplay mp4 video and cascade<div><p>Hi,</p>
<p>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.</p>
<p>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.</p>
<p>To register the MIM type:</p>
<ul>
<li>Locate the <strong>mime-mappings.xml</strong> file within the
<code>tomcat\webapps\ROOT\WEB-INF\classes\com\hannonhill\cascade\model\render\mime</code>
directory</li>
<li>Add a new mapping as follows:
<pre>
<code><mapping>
<extension>mp4</extension>
<value>video/mp4</value>
</mapping></code>
</pre></li>
<li>Save the file and restart Cascade</li>
</ul>
<p>Note: this file is replaced during upgrades, so you will need to
re-apply the change after upgrading.</p>
<p>Looking forward, we will be adding a number of MIME types in
Cascade 8, including mp4.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/391413382016-02-12T17:28:25Z2016-02-12T17:28:25Zplay mp4 video and cascade<div><p>Hello Ryan,<br>
Let me try this and confirm,<br>
thanks for the info.</p></div>pipequenotag:help-archives.hannonhill.com,2010-02-09:Comment/391413382016-02-12T21:09:49Z2016-02-12T21:09:49Zplay mp4 video and cascade<div><p>Not a problem at all, please keep me posted on your
findings.</p>
<p>Have a great day!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/391413382016-02-12T22:56:48Z2016-02-12T22:56:48Zplay mp4 video and cascade<div><p>Hello Ryan,<br>
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.</p></div>pipequenotag:help-archives.hannonhill.com,2010-02-09:Comment/391413382016-02-15T14:45:10Z2016-02-15T14:45:10Zplay mp4 video and cascade<div><p>Hi,</p>
<p>Ryan is out of the office at the moment so I figured I'd chime
in here. You mentioned:</p>
<blockquote>
<p>I keep getting file character encode issues</p>
</blockquote>
<p>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?</p>
<p>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.</p>
<p>Thanks</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/391413382016-03-04T22:09:58Z2016-03-04T22:09:58Zplay mp4 video and cascade<div><p>Hi,</p>
<p>Just wanted to follow up to see if you had a chance to view
<a href="http://help.hannonhill.com/discussions/how-do-i/21335-play-mp4-video-and-cascade#comment_39172596">
Tim's recent comment</a>.</p>
<p>Please let us know if you have any questions.</p>
<p>Thanks.</p></div>Ryan Griffith