Wert1go
Wert1go

Reputation: 297

Load embed youtube video in fullscreen mode by button click - iOS

So the question is:

Can i load load embed youtube video in fullscreen mode, by button click, skip intermediate UIWebView?

Googling gave me only one answer - probably NO, but hope still alive.

Upvotes: 0

Views: 3222

Answers (1)

BBog
BBog

Reputation: 3650

Have you tried embedding the video as a fullscreen page? Something like:

<object style="height: 768px; width: 1024px">
<param name="movie" value="http://www.youtube.com/v/gPLb9FVKoqI?version=3&feature=player_detailpage">
<param name="allowFullScreen" value="true">
<param name="allowScriptAccess" value="always">
<embed src="http://www.youtube.com/v/gPLb9FVKoqI?version=3&feature=player_detailpage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="1024" height="768">

...and then present it in a fullscreen UIWebView?

This is assuming you somehow generate yourself the embedded pages (which shouldn't be difficult if you know the video id)

Other than that, I don't see what other options you might have.

Upvotes: 1

Related Questions