I'm using MP4 located in a server.

StageVideo, i followed this guide
http://www.adobe.com/devnet/flashplayer/articles/stage_video.html

VideoPlayer, i'm just using mxml component
<s:VideoPlayer 
        width="100%" 
        height="100%"
        autoPlay="true"
        loop="false"
        source="{data}"
        skinClass="skin.common.VideoPlayerSkin"
        click="togglePlay()"
        id="vp"/>

Where data is www.mysite.com/myfile.mp4

StageWebView:
private var webView:StageWebView;

        var 
osStatusBarHeight:int=FlexGlobals.topLevelApplication.getStyle("osStatusBarHeight");
        webView = new StageWebView();
        webView.stage = this.stage;
        webView.viewPort = 
newRectangle(0,(this.navigator.actionBar.height+osStatusBarHeight),this.stage.stageWidth,(this.stage.stageHeightthis.navigator.actionBar.height-osStatusBarHeight));
        webView.loadURL(e.Url);
        webView.addEventListener(ErrorEvent.ERROR, onError);
 

-----Messaggio originale-----
Da: Maurice Amsellem [mailto:[email protected]] 
Inviato: venerdì 20 dicembre 2013 20.02
A: [email protected]
Oggetto: RE: video on mobile project

Hi Frederico,

Can you post the code you'd been using in the various options ( SWV, SV and VP).
And the kind of video source you want to display That will help us to help you.

Maurice 

-----Message d'origine-----
De : Federico De Maddalena [mailto:[email protected]] Envoyé : vendredi 
20 décembre 2013 19:52 À : [email protected] Objet : video on mobile project

i spent a lot of time trying to display a video on a cross platform (ios
+ adnroid) application based on flex 4.12 beta and air 3,9, developed
with flash builder 7 (as + mxml)
 
i tryed stagewebview, stagevideo, videoplayer component, video but i've not 
find a unique solution.
 
stagewebview run weel on ios, but not in android. videoplayer component doesn't 
work on ios. with stagevideo I've only audio but no video is displayed...
...i'm desperately searching a solution!!!! 
any ideas?
probably i'm just newbies...
 
sorry for my bad english but i'm exausted!
thanks
federico

Reply via email to