Home > Media Player > My embedded Lightcast Player doesn’t enter the full screen mode on certain browsers. Why is that?

My embedded Lightcast Player doesn’t enter the full screen mode on certain browsers. Why is that?

As part of our transition from a Flash based player to an HTML5 player in 2015, the player embed code changed slightly. Flash by default is allowed to become full screen by all major browsers, while HTML5 code must be authorized via the iframe tag. If you obtained your player embed code on or before November 19, 2015, this authorization is missing in your embed code, and the player may be unable to become full screen.

What you need to do:
Option 1: Please obtain the updated player embed code from your Lightcast.com Control Center. Click on the Channel you would like to change the embed code for, and then click on “Embed Channel”. If it is a single video you need an updated embed code for, then click on “Media Archive” in your Lightcast account, search for the video and select the embed code icon on the very right side when mousing over the video. 

Option 2: Alternatively,  you can update your embed code by adding the text 'allowfullscreen' to the end of your iframe opening tag. Please see below:

Here is a sample embed code without the iframe authorization:

<iframe src='http://embed.cdn01.net/player.php?width=640&height=360&id=######&type=' frameborder='0' width='640' height='360'></iframe>

Here is the same embed code with the authorization added (and highlighted in red for easy visibility:

<iframe src='http://embed.cdn01.net/player.php?width=640&height=360&id=######&type=' frameborder='0' width='640' height='360' allowfullscreen></iframe>