<head> <script src="video.js"></script> <script src="vectorly-videojs.js"> </script> </head> <body> <video id="my-video" class="video-js" data-setup="{}" src="video.mp4" ></video> <script> videojs.registerPlugin('vectorlyPlugin', vectorly.videoJSPlugin); const player = videojs('my-video'); player.vectorlyPlugin({width: 1280, height: 720}); // Upscale to 720p (from 240p) </script> </body>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter