<head>

  <!--

  Enable RTMP feature by

  Step 1. ssh into camera

  Step 2. paste below command into terminal

      echo createService ip=0.0.0.0 port=1935 protocol=inboundRtmp | nc 127.0.0.1 1112 -w 1 -i 1

 

  Then replace it with corresponding IP address of your UVC

      <source src="rtmp://192.168.1.20:1935/live/s0" type='rtmp/mp4'>

  -->

  <link href="https://vjs.zencdn.net/5.10.7/video-js.css" rel="stylesheet">

 

  <!-- If you'd like to support IE8 -->

  <script src="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script>

</head>

 

<body>

  <video autoplay id="my-video" class="video-js" controls preload="auto" width="640" height="360"

  poster="https://ubcdn.co/static/images/enterprise/overview/unifi-video-overview-2x.png" data-setup="{}">

    <source src="rtmp://meteo.e-tona.cat:1935/live/s0" type='rtmp/mp4'>

    <p class="vjs-no-js">

      To view this video please enable JavaScript, and consider upgrading to a web browser that

      <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>

    </p>

  </video>

 

  <script src="https://vjs.zencdn.net/5.10.7/video.js"></script>

</body>