Discussion Forums  >  Audio, Video, Playing, Recording

Replies: 1    Views: 130

Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
03/13/12 09:10 PM (13 years ago)

Rotating Youtube video to landscape on v1.5 iOS

I'm using a Youtube screen on a v1.5 iOS app, but unlike the "streaming video" page, the youtube page will not rotate the video to landscape on an iPhone. I don't want the whole app to be able to be rotated, just the videos. In the past, I've loaded the videos in xCode and the streaming video page works great for rotating, but on this app, there are so many videos that I need to resort to using them loaded from youtube. Any suggestions?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/13/12 10:31 PM (13 years ago)
iOS is tricky with YouTube. They're constantly changing their offering and allowing / preventing developers from doing what may seem easy. With that in mind...it's almost a waste to try to get the YouTube landing page to do something other than what THEY control (YouTube). In iOS 5.1 YouTube video pages usually display in Portrait but the video itself plays in Landscape when the play button is pressed. If haven't experimented with this for awhile but what happens if you transition from a Landscape screen (a menu) to a YouTube screen..does it force it back to Portrait? I'll do some digging to see what I can come up with.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.