flv carga de la prueba sólo cuando la película - no en el navegador LOCAL

  • panzhuli
  • Graduate
  • Graduate
  • No Avatar
  • Registrado: Oct 14, 2004
  • Mensajes: 135
  • Loc: Cleveland
  • Status: Offline

Nota Septiembre 13th, 2008, 3:20 pm

Hola a todos. Tengo este código muy habitual en mi AS2 (Flash CS3) doc:

Código: [ Select ]
 
var nc:NetConnection = new NetConnection();
nc.connect(null);
 
var ns:NetStream = new NetStream(nc);
 
video.attachVideo(ns);
 
ns.play("flv.flv");
 
  1.  
  2. var nc:NetConnection = new NetConnection();
  3. nc.connect(null);
  4.  
  5. var ns:NetStream = new NetStream(nc);
  6.  
  7. video.attachVideo(ns);
  8.  
  9. ns.play("flv.flv");
  10.  


el swf y. FLV están en el mismo directorio en una unidad de red. que trabaja y juega muy bien si puedo probar el swf (Ctrl-Enter), pero al cargar el código HTML en FF3, no se carga la película en absoluto. ¿Ideas?
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Septiembre 13th, 2008, 3:20 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • Avatar de Usuario
  • Registrado: May 28, 2003
  • Mensajes: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Nota Septiembre 13th, 2008, 3:31 pm

Bueno mi primera pregunta es ¿por qué usar el antiguo código MX AS2 para NetStream cuando CS3 con todo lo que tiene que hacer es usar el componente FLVPlayer?

Creo que el problema es que está intentando ejecutar desde una unidad asignada y no creo que eso va a funcionar en un navegador. Prueba de carga a un servidor web en lugar
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • panzhuli
  • Graduate
  • Graduate
  • No Avatar
  • Registrado: Oct 14, 2004
  • Mensajes: 135
  • Loc: Cleveland
  • Status: Offline

Nota Septiembre 13th, 2008, 5:10 pm

Tengo una costumbre flv jugador. debo tratar el pelado flv componente?
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • Avatar de Usuario
  • Registrado: May 28, 2003
  • Mensajes: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Nota Septiembre 13th, 2008, 5:56 pm

Si bien su trabajo para usted y usted como su costumbre, no. Pero aún, si lo colocas en un servidor web debe arroyo y jugar como muy bien como lo hace cuando usted lo prueba
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.

Publicar Información

  • Total de mensajes en este tema: 4 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 43 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC