Skip to main content

Play Video

To play back a video, use fileUrl attribute from the response of video.

If you encoded video in HLS format, then for playing video you need to set up video player which supports HLS format.

<link href="" rel="stylesheet" />
<video  id="my-video"  class="video-js"  controls  preload="auto"  width="640"  height="264"  data-setup="{}">  <source  // You have to provide your downStreamUrl in src    src="your-file-url"    type="application/x-mpegURL"  />  <p class="vjs-no-js">    To view this video please enable JavaScript, and consider upgrading to a    web browser that    <a href="" target="_blank"      >supports HTML5 video</a    >  </p></video><script src=""></script>

Video SDK Home Dashboard