Hi everyone!!!
My site goes through the follow structure:
(startpage) that loads the (mainpage) in a new container MC (alvo) but
in the same level (0).
From within the (alvo).(mainpage), I call another container MC
(movies), now in level (2).
This new MC has a FLV component that should load videos dynamically,
acording to a variable value generated from the buttons in the
(alvo).(mainpage).
The problem:
In my computer everything works fine and I have some friends that told
me the same.
But in some cases, the people goes to the site and all the flash content
works fine, but the video doesn't appears.
The site:
http://www.edd.com.br/new
Is hosted in linux APACHE.
The code:
switch (_global.my_video) {
case "demo" :
my_FLVPlybk.contentPath = "http://www.edd.com.br/media/demo.flv",
"_blank";
break;
case "..." :
...
break;
}
import mx.video.*;
this.attachMovie("FLVPlayback", "my_FLVPlybk", 10);
my_FLVPlybk.bufferTime = 8;
my_FLVPlybk.autoSize = true;
my_FLVPlybk.setSize(400, 270);
my_FLVPlybk.x=2, my_FLVPlybk.y=2;
my_FLVPlybk.autoRewind = true;
my_FLVPlybk.skin = "http://www.edd.com.br/media/ClearOverPlaySeekMute.swf";
The questions:
Why the video doen't work??
Someone have any idea about whats is happening??
Is that code right??
Darr_darshan - 05 Dec 2006 14:10 GMT
hi
even though i am not sure i think for online access of flv you would need flash streaming server or embed files in swf
bye
Mister Peanut - 05 Dec 2006 17:00 GMT
Does your code look similar to this?
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream=new NetStream(nc);
theVideo.attachVideo(ns);
ns.onStatus = function(infoObject) {
if(infoObject.code=="NetStream.Play.Stop"){
ns.close();
theVideo.clear();
}
}
P
edd - 06 Dec 2006 05:31 GMT
Thanks!
I've solved the problem!!!
> Does your code look similar to this?
>
[quoted text clipped - 11 lines]
>
> P
glwheeler - 28 Apr 2007 03:38 GMT
hOW DID YOU SOLVE THE PROBLEM?