How to cause the player to exit full screen mode automatically after playback?

You will need to use JavaScript to exit full screen mode when playback has ended, for V2 players.

1. Edit the page where the player is located, and add the following JavaScript code:

function jsCallbackReady(objectId) {
window.kdp = document.getElementById(objectId);
function playerPlayEndHandle () {

2. Save the HTML page and validate that the solution is working.

In This Article
Was this article helpful?
Thank you for your feedback!