Skip to content

Instantly share code, notes, and snippets.

@samueleastdev
Created August 24, 2023 12:45
Show Gist options
  • Save samueleastdev/98f742494af029434358abd70a34c281 to your computer and use it in GitHub Desktop.
Save samueleastdev/98f742494af029434358abd70a34c281 to your computer and use it in GitHub Desktop.
Basic Aamp Starter Template
<!-- https://developer.rdkcentral.com/documentation/documentation/rdk_video_documentation/rdk-v_components/rdk-v_open-sourced_components/advanced_adaptive_media_player_aamp/aamp_app_integration_universal_video_engine_uve_apis/ -->
<html><head><title>AAMP playback in WPE browser using UVE APIs</title></head>
<script>
var url = "http://d3rlna7iyyu8wu.cloudfront.net/skip_armstrong/skip_armstrong_multi_language_subs.m3u8";
window.onload = function() {
var player = new AAMPMediaPlayer();
player.load(url);
}
</script>
<body>
<!-- video tag element used for hole punching, to ensure visibility of background video plane -->
<video style="height:100%; width:100%; position:absolute; bottom:0; left:0" src="dummy.mp4" type="video/ave"/>
</video>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment