Skip to content

Commit

Permalink
3.0.1
Browse files Browse the repository at this point in the history
- update for new TV player settings
  • Loading branch information
radiantmediaplayer committed Dec 22, 2022
1 parent 05c2c25 commit cee6d56
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 24 deletions.
26 changes: 3 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,13 @@ The player is equipped with various optimisations, to work in the following envi
- [HTML5 Web Apps for Fire TV](https://developer.amazon.com/docs/fire-tv/getting-started-with-web-apps.html)
- [HTML5 Hybrid Apps for Fire TV](https://developer.amazon.com/docs/fire-tv/hybrid-apps-overview.html) - this is required for DRM support

We support Fire TV devices running on FireOS 5+.
We support Fire TV devices running on FireOS 6+.

For a list of supported features [see our documentation](https://www.radiantmediaplayer.com/docs/latest/fire-tv-apps.html#features).

## Demo app structure

The demo app is built with a landing page (index.html) that offers the possibility to start different players showcasing various features available with Radiant Media Player for Fire TV app:

### VOD

- dash.html: DASH VOD AVC (H.264)
- dash-vp9.html: DASH VOD VP9
- dash-maudios-mcaptions.html: DASH VOD VP9/AVC with multiple audios and multiple captions
- hls.html: HLS-TS VOD AVC (H.264)
- fmp4-hls.html: CMAF/fmp4 HLS VOD AVC (H.264)

### Live

- live-hls.html: Live HLS-TS AVC (H.264)
- low-latency-live-hls.html: Low Latency Live CMAF/fmp4 HLS AVC (H.264)
- live-dash.html: Live DASH AVC (H.264)

### Video advertisement (VAST)

- ads.html: Video ads with rmp-vast
- ads-ima.html: Video ads with Google IMA

The demo app is built with a landing page (index.html) that offers the possibility to start different players showcasing various features available with Radiant Media Player for Fire TV app.
Players displayed use our dedicated TV skin for a better fullscreen experience on large displays.

### Example
Expand All @@ -48,7 +28,7 @@ is meant to be tested in [Amazon Web App Tester](https://developer.amazon.com/do

We support Widevine DRM with DASH streaming on Fire TV. A basic Web Apps for Fire TV however does not allow for DRM support. We need to build a native Android app to display a WebView (a.k.a. hybrid app) - this is typically done by using a hybrid framework like Cordova or by creating a WebView project with Android Studio. This hybrid approach on Fire TV allows to provide capabilities that are not possible in a basic web app, due to the security boundary between the browser and the device APIs. This also enables DRM support in Amazon WebView (AWV) and better performance for video playback.

Please follow [our guide to building Android TV apps with Cordova](https://www.radiantmediaplayer.com/docs/latest/android-tv.html) for guidance.
Please follow [our guide for building Android TV apps with Cordova](https://www.radiantmediaplayer.com/docs/latest/android-tv.html) for guidance.

## Issues

Expand Down
4 changes: 4 additions & 0 deletions ads-dash.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
title: 'Fire TV Demo App - Video ads with rmp-vast - DASH'
},
autoplay: true,
delayToFade: 5000,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: true,
ads: true,
adParser: 'rmp-vast',
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(),
Expand Down
4 changes: 4 additions & 0 deletions ads-ima-dash.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
title: 'Fire TV Demo App - Video ads with Google IMA - DASH'
},
autoplay: true,
delayToFade: 5000,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: 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'
Expand Down
4 changes: 4 additions & 0 deletions ads-ima.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
title: 'Fire TV Demo App - Video ads with Google IMA - CMAF HLS'
},
autoplay: true,
delayToFade: 5000,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: 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'
Expand Down
4 changes: 4 additions & 0 deletions ads.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
title: 'Fire TV Demo App - Video ads with rmp-vast - CMAF HLS'
},
autoplay: true,
delayToFade: 5000,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: true,
ads: true,
adParser: 'rmp-vast',
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(),
Expand Down
4 changes: 4 additions & 0 deletions dash-av1.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
title: 'Fire TV Demo App - DASH VOD AV1'
},
autoplay: true,
delayToFade: 5000,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: true,
skin: 'tv'
};
var elementID = 'rmp';
Expand Down
4 changes: 4 additions & 0 deletions dash-hevc.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
title: 'Fire TV Demo App - DASH VOD HEVC'
},
autoplay: true,
delayToFade: 5000,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: true,
skin: 'tv'
};
var elementID = 'rmp';
Expand Down
4 changes: 4 additions & 0 deletions dash-vp9.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
title: 'Fire TV Demo App - DASH VOD VP9'
},
autoplay: true,
delayToFade: 5000,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: true,
skin: 'tv'
};
var elementID = 'rmp';
Expand Down
4 changes: 4 additions & 0 deletions dash.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
title: 'Fire TV Demo App - DASH VOD AVC (H.264)'
},
autoplay: true,
delayToFade: 5000,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: true,
skin: 'tv'
};
var elementID = 'rmp';
Expand Down
4 changes: 4 additions & 0 deletions fmp4-hls.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
licenseKey: 'your-license-key',
src: src,
autoplay: true,
delayToFade: 5000,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: true,
contentMetadata: {
title: 'Fire TV Demo App - CMAF/fmp4 HLS VOD AVC (H.264)'
},
Expand Down
4 changes: 4 additions & 0 deletions live-dash.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
licenseKey: 'your-license-key',
src: src,
autoplay: true,
delayToFade: 5000,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: true,
contentMetadata: {
title: 'Fire TV Demo App - Live DASH AVC (H.264)'
},
Expand Down
4 changes: 4 additions & 0 deletions live-hls.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
licenseKey: 'your-license-key',
src: src,
autoplay: true,
delayToFade: 5000,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: true,
dvrUIThreshold: 30000,
contentMetadata: {
title: 'Fire TV Demo App - Live CMAF HLS'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rmp-fire-tv",
"version": "3.0.0",
"version": "3.0.1",
"author": "Radiant Media Player <[email protected]>",
"description": "Example for using Radiant Media Player in a web-based Fire TV app.",
"repository": {
Expand Down

0 comments on commit cee6d56

Please sign in to comment.