92 lines
3.1 KiB
HTML
92 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
.sec0 { background-image: url(img/fondos/bg6.jpg); background-repeat: no-repeat; background-size: cover; background-position: center; }
|
|
.bubble {
|
|
width: 100%; height: 112px; background-image: linear-gradient(to bottom, #f9f9f9, #f5f5f5, #f1f1f1, #ededed, #e9e9e9);
|
|
border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px;
|
|
}
|
|
.myvideo { height: 100%; width: 100%; }
|
|
.play { position: absolute; background-image: url(img/play.png); background-repeat: no-repeat; background-position: center; width: 100%; height: 100%; top: 0; left:0; z-index: 1; cursor: pointer; }
|
|
.anim { opacity: 0; }
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="section_charge bg w-100 h-100">
|
|
<div class="d-none"></div>
|
|
<section id="sec0" class="sec0 w-100 h-100">
|
|
<div class="container h-100">
|
|
<div class="row justify-content-center h-100">
|
|
<div class="col-11 mt-5 pt-">
|
|
<div class="bubble d-flex align-items-center shadow px-3 py-2 anim anim1">
|
|
<p class="m-0">
|
|
Observa el siguiente video, para que al igual que Marcos, puedas conocer los <b>aspectos</b>
|
|
<b>generales</b> para la prevención y detección de operaciones con recursos de procedencia ilícita.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-7 animated zoomIn">
|
|
<div class="play border_video block"></div>
|
|
<div class="embed-responsive embed-responsive-16by9 h-100">
|
|
<video id="video" controls="" class="myvideo embed-responsive-item" src="video/pld_extenso_01.mp4"></video>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
<script>
|
|
jQuery(document).ready(function($) {
|
|
instruccion(0);
|
|
var Audio_R3 = newSound("audio/Audio_3_Ruben.mp3");
|
|
|
|
Audio_R3.on("end", function() {
|
|
$(".play").removeClass('block');
|
|
instruccion(10);
|
|
});
|
|
|
|
$(".layer-load").show();
|
|
$('.section_charge').waitForImages({
|
|
finished: function() {
|
|
$(".section_charge").css("visibility", "visible");
|
|
$(".wloader").hide();
|
|
fn_animate();
|
|
|
|
},
|
|
each: function(loaded, count, success) {
|
|
var total = Math.floor((loaded * 100) / count);
|
|
$(".wloader").show();
|
|
|
|
},
|
|
waitForAll: true
|
|
});
|
|
|
|
function fn_animate(){
|
|
var tl = new TimelineMax();
|
|
tl.fromTo(".anim1",1,{opacity:0, y:-100},{opacity:1, y:0, ease:Expo.easeInOut});
|
|
tl.call(fn_firstAudio);
|
|
}
|
|
|
|
function fn_firstAudio(){
|
|
stopAllSoundsAndPlay(Audio_R3);
|
|
}
|
|
|
|
var vid = document.getElementById("video");
|
|
$(".play").click(function(event) {
|
|
if (!$(this).hasClass('block')) {
|
|
instruccion(0);
|
|
$(this).hide();
|
|
vid.play();
|
|
}
|
|
});
|
|
|
|
$('video').on('ended',function(){
|
|
instruccion(1);
|
|
});
|
|
|
|
});
|
|
</script> |