objective c - Play youtube videos in fullscreen auto -


i trying play youtube video using youtube embedded player in ipad app. want user clicks on video thumbnail video automatically should loaded fullscreen on switching landscape mode in ipad. user has click fullscreen button play video in fullscreen mode. want same effect seen when play video using default youtube app comes ipad.

this code using play tube video on ipad.

embedhtml = @"<object width=\"640\" height=\"390\"> <param name=\"movie\"value=\"http://www.youtube.com/v/iyx_ql-3u10&fs=1\"> <param name=\"allowfullscreen\" value=\"true\"></param> <param name=\"allowscriptaccess\" value=\"always\"></param> <embed id=\"yt\" src=\"http://www.youtube.com/v/youtube_video_id&fs=1\"  type=\"application/x-shockwave-flash\" position=\"fixed\"  allowfullscreen=\"true\" allowscriptaccess=\"always\"  width=\"640\" height=\"390\"></embed></object>"; 

and if not possible know if there reason or documentation supporting decision.

you can't, it's not allowed :)


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -