Picture of Roshan Chettri
fullscreen.js
by Roshan Chettri - Friday, 1 August 2014, 12:12 PM
 

Hi All,

I am trying to implement a fullscreen similar to pressing f11 , with the help of fullscreen.js , i could make it functional outside adapt framework , however the functionality does not work on adapt , is there some standards/condition kept for stopping the window to go into fullscreen .

Awaiting some guidelines.

Regards

 

 

 

 

 

Picture of Roshan Chettri
Re: fullscreen.js - Resloved
by Roshan Chettri - Saturday, 2 August 2014, 7:27 PM
 

Even though i knew the code was correct , no fullscreen :( and after lot of digging guess what! adapt renders the code in iframe , stupid me :) iframe does not allow internal element to go fullscreen unless...

To resolve this please add "allowfullscreen" to the iframe thats all . hope this helps someone

Regards 

Picture of Matt Leathes
Re: fullscreen.js - Resloved
by Matt Leathes - Monday, 4 August 2014, 8:26 AM
 

Hi Roshan

Adapt doesn't render in an iframe... unless you run main.html. Don't do that - use index.html.