Comunidad de diseño web y desarrollo en internet online

Problemas al visualizar un Flash Video (FLV)

Citar            
MensajeEscrito el 23 Oct 2007 01:34 pm
engo el siguiente problema, resulta que tengo unos botones desde una pagina html que me habre unos POP UP que contienen unos VIDEOS FLASH...

Resulta que al visualizarlo a nivel local, me funcionan todo perfecto...

Mi porblema surge en cuanto los subo a la WEB, ya que los FLV no me cargan, por ende no los puedo visualizar...

Porque ocurre esto???

----------------

Esto es lo que hago, tengo un SWF que me sirve de cargador del video (flv), y este es el CODIGO:

Código :

Stage.align = "MC";
Stage.scaleMode = "noScale";
fscommand("allowscale", "false");
fscommand("fullscreen", "false");
_quality = "BEST";
var display:Video;
var videoAtual:String = null;
var tempoAtual:Number = 0;
var isPlay:Boolean = false;
var mcSeek:MovieClip;
var mcVolumeControl:MovieClip;
var btPlayPause:MovieClip;
var btStop:MovieClip;
var netConVideo:NetConnection = new NetConnection();
netConVideo.connect(null);
var netStmVideo:NetStream = new NetStream(netConVideo);
var somVideo:Sound = new Sound();
netStmVideo.onStatus = function(info):Void
{
if(info.code == "NetStream.Buffer.Flush"){
netStmVideo.play(videoAtual);
stopVideo();
}
}

display.attachVideo(netStmVideo);

function setVideo(src:String):Void
{
if(videoAtual != src){
netStmVideo.play(src);
videoAtual = src;
} else {
netStmVideo.seek(0);
}
btPlayPause.gotoAndStop(2);
isPlay = true;
}

function PlayPause():Void
{
if(isPlay){
tempoAtual = netStmVideo.time - 10;
netStmVideo.pause(true);
isPlay = false;
} else {
isPlay = true;
netStmVideo.pause(false);
}
}

function stopVideo():Void
{
tempoAtual = 0;
netStmVideo.seek(0);
netStmVideo.pause(true);
isPlay = false;
btPlayPause.gotoAndStop(1);
}

btStop.onRelease = stopVideo;
btPlayPause.onRelease = function():Void
{
if(isPlay && this._currentframe == 2){
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
PlayPause();
}

mcVolumeControl.setVolumeObject(somVideo);
mcSeek.setVideoStream(netStmVideo);
setVideo("videos/Heritage.flv");


Pero como les dije, me FUNCIONA a nivel LOCAL, pero no asi en la WEB...

Una Ayudita!!!! :shock: :shock:

Por crew

168 de clabLevel



 

Desde el Pais + Largo del Mundo...CHILITO Lindo

firefox
Citar            
MensajeEscrito el 24 Oct 2007 03:19 pm
parece que no hay alguna solución posible, o mi problema es muy cabron!!!!

Por crew

168 de clabLevel



 

Desde el Pais + Largo del Mundo...CHILITO Lindo

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.