Skip to main content
Participating Frequently
February 23, 2012
Question

Air 3.0 StageWebView Youtube videos blank/white screen - iOS

  • February 23, 2012
  • 1 reply
  • 1276 views

Flash CS 5.5, Air 3.0 publishing an IPA for testing on my iPhone 3Gs.

I'm using StageWebView to watch a few YouTube videos.

Everything works great using Test Movie. The native Youtube video shows up with the controls and everything... but when I put the IPA on my device, I just get a blank/white screen where the video should be.

It seems very simple yet I'm not finding anything on the web to help me out...

webView = new StageWebView();

webView.stage = this.stage;

webView.viewPort = new Rectangle(0,0,480,300);

webView.loadURL(path);

Any help would be greatly appreciated. Thanks!

This topic has been closed for replies.

1 reply

Participating Frequently
February 24, 2012

I've been trying everything. I've tried multiple tutorials on using StageWebView with Youtube and get the exact same results.

I even tested it on my iPhone 4S and got the white screen with no video.

Is it because I'm using AIR 3.0 and not AIR 3.1? I downloaded the 3.1 SDK but it looks like it was modified the same time as what I'm currently using. Around early November...

I need to launch this app soon and I'm really stuck here...any help would be awesome.

Thanks in advance!