@baladshow/plyr-shaka
Version:
A simple, accessible and customizable HTML5, YouTube and Vimeo media player
38 lines (20 loc) • 932 B
HTML
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>An Anonymous Pen on CodePen</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/plyr@3/dist/plyr.css'>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<video controls crossorigin playsinline class="mainVideoPlayer"></video>
</div>
<!-- Plyr resources and browser polyfills are specified in the pen settings -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/shaka-player/2.4.0/shaka-player.compiled.js"></script>
<script src='https://cdn.polyfill.io/v2/polyfill.min.js?features=es6,Array.prototype.includes,CustomEvent,Object.entries,Object.values,URL'></script>
<script src='../dist/plyr.js'></script>
<script src="js/index.js"></script>
</body>
</html>