title: How to exit fullscreen video on iOS CNA (Captive Network Assistant)
body: <p>I'm trying to optimize UX in a WiFi Captive Portal at work and I want video to close at end.</p>
  
  <p>Problem is: The browser where video plays is the iOS CNA, that apparently has <strong>no support</strong> to *EndFullScreen() method, so it's <strong>not</strong> a possible solution.</p>
  
  <p>I've have this code that identifies when video ends:</p>
  
  <pre><code>iphone_video.addEventListener('ended', function() {
    // here should go endfullscreen code;
  }, false);
  </code></pre>