Skip to content

Instantly share code, notes, and snippets.

@sb2702
Last active September 18, 2021 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sb2702/61674438c22faad988a3a71abe8650f9 to your computer and use it in GitHub Desktop.
Save sb2702/61674438c22faad988a3a71abe8650f9 to your computer and use it in GitHub Desktop.
<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>
@Iskander0
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment