diff --git a/README.md b/README.md index 2db54c1..42265ae 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 diff --git a/ads-dash.html b/ads-dash.html index c9ea1d7..bd3ecaf 100644 --- a/ads-dash.html +++ b/ads-dash.html @@ -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(), diff --git a/ads-ima-dash.html b/ads-ima-dash.html index ae7a95b..f540ba7 100644 --- a/ads-ima-dash.html +++ b/ads-ima-dash.html @@ -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' diff --git a/ads-ima.html b/ads-ima.html index 6a068a0..d4f6339 100644 --- a/ads-ima.html +++ b/ads-ima.html @@ -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' diff --git a/ads.html b/ads.html index 746cfbb..2e1bcd8 100644 --- a/ads.html +++ b/ads.html @@ -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(), diff --git a/dash-av1.html b/dash-av1.html index 9ba230f..333d8ac 100644 --- a/dash-av1.html +++ b/dash-av1.html @@ -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'; diff --git a/dash-hevc.html b/dash-hevc.html index 896ab59..192c3a0 100644 --- a/dash-hevc.html +++ b/dash-hevc.html @@ -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'; diff --git a/dash-vp9.html b/dash-vp9.html index b208b92..25a8c76 100644 --- a/dash-vp9.html +++ b/dash-vp9.html @@ -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'; diff --git a/dash.html b/dash.html index d4f781b..13af16e 100644 --- a/dash.html +++ b/dash.html @@ -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'; diff --git a/fmp4-hls.html b/fmp4-hls.html index 034810a..3d16a4a 100644 --- a/fmp4-hls.html +++ b/fmp4-hls.html @@ -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)' }, diff --git a/live-dash.html b/live-dash.html index 6d8ac7f..5c63bd8 100644 --- a/live-dash.html +++ b/live-dash.html @@ -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)' }, diff --git a/live-hls.html b/live-hls.html index b97498c..ac55607 100644 --- a/live-hls.html +++ b/live-hls.html @@ -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' diff --git a/package.json b/package.json index cc1f3c4..047db21 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rmp-fire-tv", - "version": "3.0.0", + "version": "3.0.1", "author": "Radiant Media Player ", "description": "Example for using Radiant Media Player in a web-based Fire TV app.", "repository": {