Quantcast
Viewing latest article 21
Browse Latest Browse All 130

stange problem... work in my flash pro but not online

hello, excuse me for my enlgish i speak french..

i download an example for hds fms

 

I change the fla and compile etc. and in my flash pro is working

 

But i put this online and nothing work... do you have an idea why ?

 

My simple code:

 

import org.osmf.media.MediaPlayerSprite;

import org.osmf.layout.ScaleMode;

import org.osmf.media.URLResource;

 

var manifestResource:URLResource = new URLResource("http://xx.xx.xx.xx/hds-vod/6283.mp4.f4m");

var mediaPlayerSprite:MediaPlayerSprite = new MediaPlayerSprite();

mediaPlayerSprite.scaleMode = ScaleMode.LETTERBOX;

mediaPlayerSprite.x = 32;

mediaPlayerSprite.y = 74;

mediaPlayerSprite.width = 736;

mediaPlayerSprite.height = 506;

this.addChild(mediaPlayerSprite);

mediaPlayerSprite.resource = manifestResource;

 

and online link:

http://www.kerv.ca/osmf/HTTP_Manifest.html

 

thanks to help me... i dont understand why is ok in flash program and not online...

 

 

and is working if i go to my http://xx.xx.xx.xx/videoPlayer of fms

 

this is possible the reason is its not the same ip ?

i have my website in ip and fms http in other


Viewing latest article 21
Browse Latest Browse All 130

Trending Articles