-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- updates to player version 5.10.4 - adds live DASH and DASH DRM examples - adds Google IMA example
- Loading branch information
1 parent
2aaf4bc
commit ef50f73
Showing
11 changed files
with
153 additions
and
23 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" | ||
content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=no"> | ||
<title>Fire TV Demo App - HLS VOD with video ads (Google IMA)</title> | ||
<link rel="stylesheet" type="text/css" href="css/style.css"> | ||
<meta name="robots" content="noindex"> | ||
</head> | ||
|
||
<body> | ||
<script src="https://cdn.radiantmediatechs.com/rmp/5.10.4/js/rmp.min.js"></script> | ||
<div id="rmpPlayer"></div> | ||
<script> | ||
var src = { | ||
hls: 'https://5b44cf20b0388.streamlock.net:8443/vod/smil:ed.smil/playlist.m3u8' | ||
}; | ||
var settings = { | ||
licenseKey: 'your-license-key', | ||
src: src, | ||
contentMetadata: { | ||
title: 'Fire TV Demo App - HLS VOD with video ads (Google IMA)' | ||
}, | ||
autoplay: true, | ||
ads: true, | ||
adTagUrl: 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator=' + Date.now(), | ||
skin: 'tv' | ||
}; | ||
var elementID = 'rmpPlayer'; | ||
window.rmp = new RadiantMP(elementID); | ||
window.rmp.init(settings); | ||
</script> | ||
<script src="js/player.js"></script> | ||
</body> | ||
|
||
</html> |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" | ||
content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=no"> | ||
<title>Fire TV Demo App - DASH Widevine DRM</title> | ||
<link rel="stylesheet" type="text/css" href="css/style.css"> | ||
<meta name="robots" content="noindex"> | ||
</head> | ||
|
||
<body> | ||
<script src="https://cdn.radiantmediatechs.com/rmp/5.10.4/js/rmp.debug.js"></script> | ||
<div id="rmpPlayer"></div> | ||
<script> | ||
var src = { | ||
dash: 'https://media.axprod.net/TestVectors/v7-MultiDRM-SingleKey/Manifest.mpd' | ||
}; | ||
var settings = { | ||
licenseKey: 'your-license-key', | ||
src: src, | ||
contentMetadata: { | ||
title: 'Fire TV Demo App - DASH Widevine DRM' | ||
}, | ||
shakaDrm: { | ||
servers: { | ||
'com.widevine.alpha': 'https://drm-widevine-licensing.axtest.net/AcquireLicense' | ||
} | ||
}, | ||
shakaRequestConfiguration: { | ||
license: { | ||
headers: { | ||
'X-AxDRM-Message': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXJzaW9uIjoxLCJjb21fa2V5X2lkIjoiYjMzNjRlYjUtNTFmNi00YWUzLThjOTgtMzNjZWQ1ZTMxYzc4IiwibWVzc2FnZSI6eyJ0eXBlIjoiZW50aXRsZW1lbnRfbWVzc2FnZSIsImtleXMiOlt7ImlkIjoiOWViNDA1MGQtZTQ0Yi00ODAyLTkzMmUtMjdkNzUwODNlMjY2IiwiZW5jcnlwdGVkX2tleSI6ImxLM09qSExZVzI0Y3Iya3RSNzRmbnc9PSJ9XX19.4lWwW46k-oWcah8oN18LPj5OLS5ZU-_AQv7fe0JhNjA' | ||
} | ||
} | ||
}, | ||
autoplay: true, | ||
skin: 'tv' | ||
}; | ||
var elementID = 'rmpPlayer'; | ||
window.rmp = new RadiantMP(elementID); | ||
window.rmp.init(settings); | ||
</script> | ||
<script src="js/player.js"></script> | ||
</body> | ||
|
||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" | ||
content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=no"> | ||
<title>Fire TV Demo App - Live DASH</title> | ||
<link rel="stylesheet" type="text/css" href="css/style.css"> | ||
<meta name="robots" content="noindex"> | ||
</head> | ||
|
||
<body> | ||
<script src="https://cdn.radiantmediatechs.com/rmp/5.10.4/js/rmp.min.js"></script> | ||
<div id="rmpPlayer"></div> | ||
<script> | ||
var src = { | ||
dash: 'https://5b44cf20b0388.streamlock.net:8443/live/ngrp:live_all/manifest.mpd' | ||
}; | ||
var settings = { | ||
licenseKey: 'your-license-key', | ||
src: src, | ||
contentMetadata: { | ||
title: 'Fire TV Demo App - Live DASH' | ||
}, | ||
autoplay: true, | ||
skin: 'tv' | ||
}; | ||
var elementID = 'rmpPlayer'; | ||
window.rmp = new RadiantMP(elementID); | ||
window.rmp.init(settings); | ||
</script> | ||
<script src="js/player.js"></script> | ||
</body> | ||
|
||
</html> |
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
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
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
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
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