Reputation: 2444
Has anyone succeeded in getting video to play in Flash published for the iPad? I have tried using both the Video and StageVideo classes, but even though they test successfully in the Flash IDE, they do not work on the iPad. I am using CS5.5.
Upvotes: 1
Views: 1237
Reputation: 1
you can't load an external swf that contains code in ios unless you use a loadercontext and that's not possible with an flvplayback skin.
to remedy, don't use a skin and create custom controls, if needed.
Upvotes: 0
Reputation: 500
I have achieved playing video in iPhone and iPad, follow the following steps:
You can use ordinary FLVPlayback
.fla
file together.FLVPlayback
component to stage and delete it in order to get the skin..flv
, .mov
, .mp4
):import fl.video.*;
var myVideo:FLVPlayback = new FLVPlayback();
myVideo.source = "video.flv";
myVideo.skin = "SkinOverPlayStopSeekFullVol.swf";
myVideo.addEventListener(VideoEvent.COMPLETE, completePlay);
function completePlay(e:VideoEvent):void {
myVideo.alpha=0.2;
Important to keep in mind:
filename.extension
.Upvotes: 1