Skip to main content
Inspiring
August 4, 2013
Question

Projecting iPad Video

  • August 4, 2013
  • 4 replies
  • 687 views

I'm interested in projecting iPad video out of my iOS app using Apple's Dock Connector-to-VGA adapter. 

From reading the customer reviews on the adapter, it appears that the iPad2 will mirror whatever's on the screen just fine, but that users of the original iPads can only project video out of apps where the app developer has enabled external video output.

Can anyone tell me how to do this (enable external video output) in AS3?

Thanks!

This topic has been closed for replies.

4 replies

Colin Holgate
Inspiring
August 4, 2013

You could try using StageWebView as the way to show H.264 video. That then would hopefully hook in with the system’s ability to play video through the dock connector.

mrwizzer2Author
Inspiring
August 4, 2013

Thanks Colin, you're always such a reliable resource. 

Could you elaborate on StageWebView a bit?

Colin Holgate
Inspiring
August 4, 2013

Here’s timeline code that would play back an MP4 named “test.mp4":

import flash.geom.Rectangle;

import flash.media.StageWebView;

import flash.filesystem.File;

var webView:StageWebView = new StageWebView();

webView.stage = this.stage;

webView.viewPort = new Rectangle(0,0,stage.stageWidth,stage.stageHeight);

var fPath:String = new File(new File("app:test.mp4").nativePath).url;

webView.loadURL( fPath );