Hola a todos,
Tengo un video que se carga por streaming, quiero mostrar un clip cuando el video termine, pero no se como hacerlo...
El codigo que tengo ahora mismo para mostrar el video es:
Código Javascript
:
Ver originalvar nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(1);
// Loop code goes here
ns.onStatus = function(info) {
if (info.code == "NetStream.Play.Stop") {
ns.seek(0);
}
};
myVideo.attachVideo(ns);
ns.play("http://xxx.es/cabecera.flv");
Un saludo y muchas gracias!