Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/08/2012, 19:51
Avatar de flashmax
flashmax
 
Fecha de Ingreso: julio-2012
Ubicación: Bs.As. Argentina
Mensajes: 507
Antigüedad: 12 años, 4 meses
Puntos: 86
Respuesta: Video de Background

por lo que vi en el codigo fuente Es un vídeo cargado al 100% con js y la segunda pagina es parecido pero lo carga en un iframe tambien con js

Código:
<!--BG Video-->
						<video id="video_background" poster="wp-content/themes/Starkers/video/video.jpg" width="100%" autoplay preload controls muted loop>						  
						   <source src="wp-content/themes/Starkers/video/che-poi-tanto-lo-sai-BW.webm" type='video/webm; codecs="vp8, vorbis"' />
						   <source src="wp-content/themes/Starkers/video/che-poi-tanto-lo-sai-BW.theora.ogv" type='video/ogg; codecs="theora, vorbis"' />
						   <source src="wp-content/themes/Starkers/video/che-poi-tanto-lo-sai-BW.mp4" />
						    <object width="100%" height="800" type="application/x-shockwave-flash"
						 
						          data="http://www.thestraw.it/wp-content/themes/Starkers/video/player.swf?image=wp-content/themes/Starkers/video/video.jpg&file=http://www.thestraw.it/wp-content/themes/Starkers/video/che-poi-tanto-lo-sai-BW.mp4">
						 
						          <param name="movie" value="http://www.thestraw.it/wp-content/themes/Starkers/video/player.swf?image=wp-content/themes/Starkers/video/video.jpg&file=http://www.thestraw.it/wp-content/themes/Starkers/video/che-poi-tanto-lo-sai-BW.mp4" />
						          <param name="wmode" value="opaque" />
						  
						      </object>
						  
						 </video>  
						 
						 <!--<script>
						   var v = document.getElementById("movie");
						   v.onclick = function() {
						     if (v.paused) {
						       v.play();
						     } else {
						       v.pause();
						     }
						   };
						 </script>
						   						<!--Control Buttons--*>
						<script>
						var video = document.getElementsByTagName('video')[0];
						var volumecontrol = document.getElementById('volumecontrol');
						video.onvolumechange = function(e) {
						  mutebutton.value = video.muted ? 'Muted' : 'Unmuted';
						  volumecontrol.value = video.volume;
						}
						function updateVolume() {
						  video.volume = volumecontrol.value;
						}
						var mutebutton = document.getElementById('mutebutton');
						video.onvolumechange = function(e) {
						  mutebutton.value = video.muted ? 'Muted' : 'Unmuted';
						}
						function muteOrUnmute() {
						  video.muted = !video.muted;
						}
						</script>
						<script>
						
						
						</script>
						
						<div class="videoButtons">
							<input class="mute" type="button" value="Unmuted" id="mutebutton" onclick="muteOrUnmute()">
							<input class="stop" type="button" value="Pause" onclick="video.pause()">
							<input class="play" type="button" value="Play" onclick="video.play()">
							<!--<input class="volume" type="range" max="1" step="any" id="volumecontrol" onchange="updateVolume()">--*>
						</div>-->