Skip to content

Instantly share code, notes, and snippets.

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 connecteev/2f7710e92e5551601b83f7f4afe8e558 to your computer and use it in GitHub Desktop.
Save connecteev/2f7710e92e5551601b83f7f4afe8e558 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>: KeenBrain</title>
<meta name="csrf-token" content="Bm534DjatvVBbFpTAEjLxiuihDIrllWj60NHHHfO">
<!-- This file contains the common CSS styling shared by all pages -->
<link rel="stylesheet" href="/css/my_tailwind.css">
</head>
<body class="tw-bg-gray-100">
<div id="app"> <!-- ID: 'app' used by vue -->
<!--
Uses the latest versions of video.js and videojs-http-streaming.
To use specific versions, please change the URLs to the form:
<link href="https://unpkg.com/video.js@6.7.1/dist/video-js.css" rel="stylesheet">
<script src="https://unpkg.com/video.js@6.7.1/dist/video.js"></script>
<script src="https://unpkg.com/@videojs/http-streaming@0.9.0/dist/videojs-http-streaming.js"></script>
-->
<link href="https://unpkg.com/video.js/dist/video-js.css" rel="stylesheet">
</head>
<body>
<h1>Video.js Example Embed</h1>
<video-js id="my_video_1" class="vjs-default-skin" controls preload="auto" width="640" height="268">
<source src="https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8" type="application/x-mpegURL">
</video-js>
</div>
<script src="https://unpkg.com/video.js/dist/video.js"></script>
<script>
var player = videojs('my_video_1');
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment