Created
May 13, 2022 04:42
-
-
Save NDiiong/71d0b9646ea65e0836f51acaa7a34233 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- CSS --> | |
<link href="https://vjs.zencdn.net/7.2.3/video-js.css" rel="stylesheet"> | |
<!-- HTML --> | |
<video id='vtv6' class="video-js vjs-default-skin" width="400" height="300" controls> | |
<source type="application/x-mpegURL" src="https://vips-livecdn.fptplay.net/hda1/vtv6hd_vhls.smil/chunklist_b5000000.m3u8"> | |
</video> | |
<!-- JS code --> | |
<!-- If you'd like to support IE8 (for Video.js versions prior to v7) --> | |
<script src="https://vjs.zencdn.net/ie8/ie8-version/videojs-ie8.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.14.1/videojs-contrib-hls.js"></script> | |
<script src="https://vjs.zencdn.net/7.2.3/video.js"></script> | |
<script> | |
var player = videojs('vtv6'); | |
player.play(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment