Live VideoJs

I am trying to get videoJs to work with live streaming. I have this link that contains the rtmp direct stream.
http://www.iptv-player.com/index.php?fdb=1&title=%20+JIMTV%20%20&stream=rtmp% 3A% 2F% 2Frtmp.jim.stream.vmmacdn.be% 2Fvmma-jim-rtmplive -living% 2Fjim
and the player himself has a link that:
RTMP: //rtmp.jim.stream.vmmacdn.be/vmma-jim-rtmplive-live/jim
I'm currently just trying to get a live stream to play on videoJs player. I already have a local video that just can't figure out how to get a live stream to work.
Here is my html for what I still have

<!DOCTYPE html>
<html>
<head>
  <title>Video.js | HTML5 Video Player</title>

  <!-- Chang URLs to wherever Video.js files will be hosted -->
  <link href="video-js.css" rel="stylesheet" type="text/css">
  <!-- video.js must be in the <head> for older IEs to work. -->
  <script src="video.js"></script>

  <!-- Unless using the CDN hosted version, update the URL to the Flash SWF -->
  <script>
    videojs.options.flash.swf = "video-js.swf";
  </script>


</head>
<body>

  <video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" height="264"
      poster="http://www.pageresource.com/wallpapers/wallpaper/bleach-ichigo-mugetsu-here-size-original_215405.jpg"
      data-setup="{}">
    <
    <source src="http://www.iptv-player.com/index.php?fdb=1&title=%20+JIMTV%20%20&stream=rtmp%3A%2F%2Frtmp.jim.stream.vmmacdn.be%2Fvmma-jim-rtmplive-live%2Fjim" type='video/mp4' />
    <!--<track kind="captions" src="demo.captions.vtt" srclang="en" label="English"></track>--><!-- Tracks need an ending tag thanks to IE9 -->
    <!--<track kind="subtitles" src="demo.captions.vtt" srclang="en" label="English"></track>--><!-- Tracks need an ending tag thanks to IE9 -->
  </video>

</body>
</html>
+2
3

, , , . JsFiddle, . , - .
, , -

+2

rtmp/flv video/mp4

+2

= "RTMP/MP4"

, , ,

= "/-mpegurl"

+1

All Articles