Last active
May 21, 2021 23:25
-
-
Save 64lines/9b8b9954117056dbf6e53cdb9e5d5951 to your computer and use it in GitHub Desktop.
Azure Media Player implementation disabling volume scroll and logo with autoplay for all devices, the azure script was also included
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<video class="azuremediaplayer amp-default-skin" preload="auto" type="video/mp4" data-setup='{ "techOrder": ["azureHtml5JS", "flashSS", "html5FairPlayHLS","silverlightSS", "html5"], "hotKeys": { "enableVolumeScroll": false }, "logo": { "enabled": false }, "nativeControlsForTouch": false, "autoplay": true}' playsinline controls autoplay> | |
<source src="https://thevideo.streaming.media.azure.net/dbaa79ad688e-bce3-43b8-bce3-dbaa79ad688e/the-video.ism/manifest" type="application/vnd.ms-sstr+xml"/> | |
<p class="amp-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video</p> | |
</video> | |
<script src= "//amp.azure.net/libs/amp/latest/azuremediaplayer.min.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment