title: Stream video with rtmp and videojs
body: <p>I looking for a way to stream play videos with rtmp. I use video-js but it doesn't work. Firebug return an error :</p>
  
  <pre><code>L'attribut « type » spécifié sur « video/flash » n'est pas géré. Le chargement de la ressource média rtmp://server.com/vod/mp4:foo/bar/my_video.mp4 a échoué.
  VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found for this video. MediaError { code=4,  message="No compatible source was found for this video."
  </code></pre>
  
  <p>HTML code :</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="fr" class="no-js"&gt;
  &lt;head&gt;
     &lt;meta charset="UTF-8"&gt;
     &lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&gt;
     &lt;link rel="stylesheet" href="css/reset.css"&gt; &lt;!-- CSS reset --&gt;
     &lt;link rel="stylesheet" href="css/video-js.css"&gt; &lt;!-- Video.js --&gt;
     &lt;link rel="stylesheet" href="css/style.css"&gt; &lt;!-- Resource style --&gt;
     &lt;script src="js/modernizr.js"&gt;&lt;/script&gt; &lt;!-- Modernizr --&gt;
     &lt;title&gt;Title&lt;/title&gt;
  &lt;/head&gt;
  &lt;body class="sous-menu"&gt;
    &lt;video id="example_video_1" class="video-js vjs-default-skin vjs-big-play-centered"
      controls preload="auto" width="640" height="264"
      data-setup='{"techOrder": ["flash", "html5"]}'&gt;
      &lt;source src="rtmp://server.com/vod/mp4:foo/bar/my_video.mp4" type='rtmp/mp4' /&gt;
    &lt;/video&gt;
     &lt;script src="js/jquery-2.1.4.min.js"&gt;&lt;/script&gt; &lt;!-- jQuery --&gt;
     &lt;script src="js/video-js.js"&gt;&lt;/script&gt; &lt;!-- Videojs.js --&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>What I'm doing wrong ?</p>
  
  <p><strong><em>Edit:</em></strong> I add the <code>type='rtmp/mp4'</code> but it still dosen't work ... Test in FF, Chrome &amp; IE11. Tried the link in VLC and it work.</p>