Skip to content

Instantly share code, notes, and snippets.

@elv-peter
Created December 11, 2024 06:55
Show Gist options
  • Save elv-peter/1b7185688b057a0c708cb4a12174c5f0 to your computer and use it in GitHub Desktop.
Save elv-peter/1b7185688b057a0c708cb4a12174c5f0 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<title>dash.js Tests</title>
<link rel="icon" type="image/png"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABFElEQVQ4jWNgoB3wq7X9n4EK2p9YxTxga7g9RPWBmEGskU3QNyoShyTiAsyz+A0gF6CWktAChqgTUBSoJwgYkawkmgegjqAdSpAHyBaIGmD5HRQoDPvNA3QDRBxVEkAxRgyFD1JhF+FQvYyoMaRCwaBhgP4BZCQC2EFqs7FELwPpKs+Z/N+/ADUzklXkWo4OaDEyaI0dGFCIgHSgzBmkGkB2MDRGIH5tIAVN5QZJYaygmlIF4ipKArLxXG2FLkiMKUmFsUMyg6QkVkJhDwka6mLLIgmAuCSDQCkBBUSgBz+RZRNEAkE1UG4hcCNAIVADK7pMZoKU8mrEuZlFYAKNgDDaUQEsgNMRMAAAAASUVORK5CYII=">
</head>
<body>
<div style="max-width:40em">
<video
autoplay
id="video"
style="width:100%;height:100%"
controls
muted
preload="auto">
</video>
</div>
<div style="max-width:4em">
<google-cast-launcher id="cast-button"></google-cast-launcher>
</div>
<script src="dash.all.min.js"></script>
<script src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script>
<script type="module" src="index.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment