Implementing Cloud Player implementing-cloud-player
AEM Screens has traditionally offered distinct native player applications for various platforms including ChromeOS, Windows, Android™, and Tizen
. However, in response to the evolving needs of users, Adobe introduced an innovative solution - the AEM Screens Cloud Player.
The Cloud Player represents a significant departure from Adobe’s previous native applications. It is a Progressive Web App (PWA), hosted on a server. This transformative approach empowers customers with a platform-independent player that runs directly within a web browser.
Accessing the Cloud Player is as simple as visiting https://player.adobescreens.com
. Users can install it on their device, regardless of the platform, and enjoy seamless digital signage experiences. The Cloud Player’s compatibility hinges on the presence of a modern browser with PWA support, ensuring consistent performance across various devices. Say goodbye to manual updates and hello to a player that automatically delivers fixes and features, ensuring you always have the latest capabilities at your fingertips. This shift to a PWA-based Cloud Player marks an exciting evolution in Adobe’s digital signage offerings, making it more accessible, versatile, and user-friendly than ever before.
This section describes how to implement the Cloud Player.
Installing Cloud Player installing-cloud-player
Cloud Player Installation may vary on different platforms. In general, any platform having a modern browser can run the cloud player application by following these steps:
-
Open the browser and enter the cloud player URL in the address bar.
-
The browser checks if the Cloud Player is installable, and then shows an install icon in the address bar.
-
Click the install icon and the install button in the confirmation dialog box. Cloud Player is installed as a standalone application on your device and can be launched using an icon.
Cloud Player Install Option cloud-player-install-option
-
The install option for a PWA is also known as “Add to Home Screen” or A2HS feature. Support for installing PWAs from the Web varies by browser and by platform.
-
Every browser has different criteria to check if the PWA app is installable or not. Generally, the browser can check (more details here):
- If the application has a manifest json file with minimal required keys for installing the app on the platform, that is, name, icons, start_url, display
- If the application has a service worker file with a fetch event listener
- The app must be served over https
-
The install option might be visible at different locations in different browsers and device types. Some browsers might hide the install icon in the options menu bar.
Bulk provisioning Cloud Player bulk-provisioning
To do bulk provisioning of cloud player on multiple devices:
-
Choose an MDM solution that supports running a browser with a URL in Kiosk mode.
-
You can apply the same configurations to all the devices by following these steps:
- Host config.json on a server such that it is accessible such as:
https://<config_server_host>/config.json
- To install cloud player and apply the hosted configurations, use cloud player URL such as:
https://player.adobescreens.com?playerConfigAddress=https://<config_server_host>
- The Cloud Player application looks for config.json at the root of <config_server_host>, then parses the config.json to get the custom configurations and apply those configurations.
- These configurations are applied on every reload of the player.
- Host config.json on a server such that it is accessible such as:
Bulk Provisioning on Chrome OS bulk-provisioning-chrome
Learn more about bulk provisioning on Chrome OS. See Install Cloud Player on Chrome OS.
Configuration required on AEM instances bulk-provisioning-config-aem
Based on the type of the AEM instance, click one of the following guides to enable CORS b/w AEM and Cloud Player:
Chrome Apps Deprecation by Google chrome-apps-deprecation-by-google
-
Chrome Apps on Chrome OS Hardware:
Google has been actively deprecating Chrome Apps in favor of PWA apps, with a planned migration until January 2025. Therefore, the AEM Screens Player app on Chrome OS ceases to function based on the shared timeline. Adobe urges users who are currently using Chrome Player in production to plan for transitioning to the Screens Cloud Player.
-
Chrome Extension Player on Mac, Windows, and Linux®:
Due to Google’s deprecation process, starting from Google Chrome version 114, the Screens Chrome Extension Player is no longer supported. Adobe advises that you transition to their Screens Cloud Player for all your development and testing requirements.
Offline Support for External Content Retrieval offline-support
In various usage scenarios, channels may require the retrieval of content from an external source (for example, weather widgets or Commerce integrated Single Page Applications) that cannot inherently provide offline support. To enable offline functionality for these specific use cases, the Cloud Player offers support for custom header.
Cloud Player employs a Network First cache strategy, which means it attempts to fetch content from the network (then update the cache with the latest), falling back to cached content if available. To implement offline support for such content retrieval, the custom header must be included in the request. Then, the request with the custom header is cached on the player, facilitating offline access to the content while maintaining the Network First cache strategy.
// Sample fetch request with the 'X-Cache-Strategy' header
fetch(externalUrl, {
headers: {
'X-Cache-Strategy': 'external-cache'
}
})
.then(response => {
// Handle the response, which may be from the network or cache.
// Your logic here.
})
.catch(error => {
// Handle any errors that may occur during the fetch operation.
// Your error handling logic here.
});
Feedback
Adobe values your feedback. Share your thoughts with us through this form.