Not Working FullScreen API in Safari
<p>I have button that make FullScreen effect. It work in every browser except Safari.</p>

<p>I try this code, but it hadn't any effect. 
What could be the problem ?</p>

<pre><code>document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);

document.documentElement.webkitRequestFullScreen();

document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
</code></pre>

<p>Whole code look like this <a href="http://jsfiddle.net/8yryvoee/1/" rel="nofollow">http://jsfiddle.net/8yryvoee/1/</a> it doesnt work in jsfiled, but it work in project on React</p>