<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Test iframe</title>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript" src="../jquery.fullscreen-min.js"></script>
  </head>
  <body style="background:white">
    <button onclick="$(document).fullScreen(true)">Enter Fullscreen mode from iframe</button>
    <button onclick="$(document).fullScreen(false)">Exit Fullscreen mode</button>
  </body>
</html>
