How to make embeded youtube video full screen on iPhone?

Discussion in 'PHP' started by KingCobra, Jan 12, 2012.

  1. #1
    EXAMPLE: www.mysite.com/myvideo/

    This link has only a embeded youtube video. Every thing is ok except....

    The problem is the video not fit in full screen on iPhone. I need the video load in full screen (no scrollbar). Thats it.

    Please take my index.html code and edit whatever you want. Test it on your iPhone PLEASE for confirm. you can make php file instead of html if you like. Please help me.

    Please see the concept video here: The target links reading fro a QR code. I have the working QR code too.
    http://vimeo.com/21228618

    Here is my index.html code:
    
    <html>
    <head>
    <title>Vitacare</title>
    <style>
    body {
    	margin: 0px;
    }
    </style>
    </head>
    
    <body>
    
    <object width="100%" height="100%">
    <param name="movie" value="http://www.youtube.com/v/vOveOrbpB7k?autoplay=1&amp;showinfo=0&amp;version=3&amp;hl=en_US&amp;rel=0"></param>
    <param name="allowFullScreen" value="true"></param>
    <param name="allowscriptaccess" value="always"></param>
    <embed src="http://www.youtube.com/v/vOveOrbpB7k?autoplay=1&amp;showinfo=0&amp;version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="100%" height="100%" allowscriptaccess="always" allowfullscreen="true"></embed>
    </object>
    
    </body>
    </html>
    
    Code (markup):
     
    KingCobra, Jan 12, 2012 IP