Last active
September 18, 2021 18:59
-
-
Save sb2702/61674438c22faad988a3a71abe8650f9 to your computer and use it in GitHub Desktop.
This file contains 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
<head> | |
<link href="video-js.css" rel="stylesheet" /> | |
<script src="video.min.js"></script> | |
<script src="vectorly-videojs.js"></script> | |
</head> | |
<body> | |
<video id="my-video" width="1280" height="720" class="video-js" controls data-setup="{}" > | |
<source src="video.mp4" type="video/mp4" /> | |
</video> | |
<script> | |
videojs.registerPlugin('vectorlyPlugin', vectorlyUpscaler.videoJSPlugin); | |
const player = videojs('my-video'); | |
const upscaler = player.vectorlyPlugin({height: 720, width: 1280}) | |
</script> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed a typo : https://gist.github.com/Iskander0/714b4224a10f4dbda039acb46aa887fb @sb2702