Playing full-screen Youtube video in HTML 5 on iPhone/iPad

I have an HTML file (using Javascript - that embeds a Video player that plays a YouTube) video.

The problem is that I want the video to occupy the entire screen - by default (and it does not appear the YouTube HTML5 Javascript API allows for this).

I can specify the width and height in the Javascript, but hard-coding the values would not take into account the different device widths/heights (iPad / iPad mini, iPhone 5, all other iPhone devices).

I will provide you the HTML file that I have - which you can either extend (or create from scratch) if that is easier.

The video files that I am playing are Youtube files - so there must be a way for me to change the Video URL in the HTML file.

Skills: HTML, User Interface / IA

See more: youtube video html, youtube html 5, youtube html5, javascript in html 5, javascript html 5, html 5 youtube, html 5 javascript, html 5 it, html 5 coding, html 5 api, create html 5, html5 file api, player html 5, html 5 video, html 5 player, youtube-api, youtube problem, youtube player, youtube api, video html5, playing, in an html5 player, html5 video, HTML 5, html create video

About the Employer:
( 39 reviews ) Norcross, United States

Project ID: #2674510