Is there a reason a stageWebView may be autoplaying? As soon as it loads, it will start playing, but the funny thing with it is that the Play Icon stays there even while it’s already playing. I was hoping to have it paused when it loads and only play if the user requires it to be played.
import flash.geom.Rectangle;
import flash.media.StageWebView;
import flash.filesystem.File;
var webView:StageWebView = new StageWebView();
var path:String = new File(new File("app:/video.mp4").nativePath).url;
webView = new StageWebView();
webView.stage = this.stage;
webView.viewPort = new Rectangle(100, 100, 400, 300);
webView.loadURL(path);
I can’t pick anything out of my code that looks like it would be causing the error?
Consider using StageVideo instead.
It is supported on iOS.