title: Disabling automatic moxieplayer wrap in tinymce
body: <p>=)</p>
  
  <p>I've built a function that uploads,converts and then embeds a video into tinymce.
  Tinymce keeps wrapping my video embeds with some &lt; object > html, using their moxieplayer.swf.
  I want to use custom videoplayers for these videos, but cant do that when tinymce behaves as it does.</p>
  
  <p>This is the code im injecting to tinymce : </p>
  
  <pre><code>&lt;video width="320" height="240" poster="5872deprivedwrath.jpg" preload="false" src="5872deprivedwrath.mp4"&gt;
  &lt;source type="video/mp4" src="5872deprivedwrath.mp4"&gt;&lt;source type="video/ogv" src="5872deprivedwrath.ogv"&gt;
  &lt;object width="320" height="240" type="application/x-shockwave-flash" data="/js/flashmediaelement.swf"&gt;
  &lt;param name="movie" value="/js/flashmediaelement.swf"&gt;
  &lt;param name="flashvars" value="controls=true&amp;amp;file=5872deprivedwrath.mp4"&gt;
  &lt;img src="5872deprivedwrath.jpg" width="320" height="240" title="No video playback capabilities"&gt;
  &lt;/object&gt;
  &lt;/video&gt;
  </code></pre>
  
  <p>But when tinymce receives it, it turns into a big blob of html ( i can post that if needed ), wrapping it all in some moxieplayer flash embed.</p>
  
  <pre><code>&lt;video width="320" height="240" poster="8910deprivedwrath.jpg" controls="controls" preload="preload"&gt;
  &lt;source src="8910deprivedwrath.mp4" type="video/mp4" /&gt;&lt;source src="8910deprivedwrath.ogv" type="video/ogv" /&gt;
  &lt;object width="320" height="240" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;
  &lt;param name="flashvars" value="url=8910deprivedwrath.mp4&amp;amp;poster=8910deprivedwrath.jpg" /&gt;
  &lt;param name="src" value="moxieplayer.swf" /&gt;
  &lt;param name="allowfullscreen" value="true" /&gt;
  &lt;param name="allowscriptaccess" value="true" /&gt;
  &lt;embed width="320" height="240" type="application/x-shockwave-flash" src="/tiny_mce/plugins/media/moxieplayer.swf" flashvars="url=8910deprivedwrath.mp4&amp;amp;poster=8910deprivedwrath.jpg" allowfullscreen="true" allowscriptaccess="true" /&gt;
  &lt;/object&gt;
  &lt;/video&gt;
  </code></pre>
  
  <p>So i'm trying to find out how to disable this function, or work around it. </p>
  
  <p>Has anybody had any experience with this? 
   Any input is greatly appreciated, as im struggling with this one!</p>