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:
Cita:
Pero como les dije, me FUNCIONA a nivel LOCAL, pero no asi en la WEB...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");
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");
Una Ayudita!!!!