Comunidad de diseño web y desarrollo en internet online

Video como fondo de la web

Citar            
MensajeEscrito el 11 Abr 2008 01:36 pm
¿Como se puede poner un video como fondo de la web y que ajuste su tamaño?

Ejemplo:
http://www.nectarestudio.com/

Gracias.

Por clipdepelicula

237 de clabLevel



 

Valencia (España)

firefox
Citar            
MensajeEscrito el 11 Abr 2008 02:11 pm
ya esta

Por clipdepelicula

237 de clabLevel



 

Valencia (España)

firefox
Citar            
MensajeEscrito el 11 Abr 2008 02:24 pm

clipdepelicula escribió:

ya esta

¿Podrías comentar como lo has hecho?

Por One

Claber

1488 de clabLevel

5 tutoriales

Genero:Masculino  

Programador Web

firefox
Citar            
MensajeEscrito el 12 Abr 2008 07:12 pm

Código :

Stage.scaleMode = "noScale";
Stage.align = "TL";

var nc:NetConnection = new NetConnection();
nc.connect(null);

var ns:NetStream = new NetStream(nc);

video_mc.theVideo.attachVideo(ns);

ns.play("http://clipdepelicula.es/video.flv");



//
_global.setStage = function() {
   slis = new Object();
   slis.onResize = function() {
      video_mc._width=Stage.width;
      video_mc._height=Stage.height;
   };
   Stage.addListener(slis);
   slis.onResize();
};

setStage();

Por clipdepelicula

237 de clabLevel



 

Valencia (España)

firefox

 

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