This commit is contained in:
2026-06-05 16:56:04 -06:00
parent 4858993c86
commit 05f2b55fce
30 changed files with 2174 additions and 1780 deletions
+101 -72
View File
@@ -1,92 +1,121 @@
<!DOCTYPE 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>
<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">
A continuación, podrás observar un video en el cual conocerás las funciones de las <b>estructuras internas de control </b>
que posee MAPFRE, mismas a las que deberás acudir en caso de haber <b>detectado irregularidades </b>en alguna operación.
</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_05.mp4"></video>
</div>
</div>
</div>
<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">
A continuación, podrás observar un video en el cual conocerás las funciones de las
<b>estructuras internas de control</b>
que posee Mapfre, mismas a las que deberás acudir en caso de haber
<b>detectado irregularidades</b>
en alguna operación.
</p>
</div>
</div>
</section>
<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_05.mp4"
></video>
</div>
</div>
</div>
</div>
</section>
</div>
</body>
</body>
</html>
<script>
jQuery(document).ready(function($) {
jQuery(document).ready(function ($) {
instruccion(0);
var Audio_R15 = newSound("audio/Audio_15_Ruben.mp3");
var Audio_R15 = newSound('audio/Audio_15_Ruben.mp3');
Audio_R15.on("end", function() {
$(".play").removeClass('block');
instruccion(10);
Audio_R15.on('end', function () {
$('.play').removeClass('block');
instruccion(10);
});
$(".layer-load").show();
$('.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
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_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_R15);
function fn_firstAudio() {
stopAllSoundsAndPlay(Audio_R15);
}
var vid = document.getElementById("video");
$(".play").click(function(event) {
if (!$(this).hasClass('block')) {
instruccion(0);
$(this).hide();
vid.play();
}
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);
$('video').on('ended', function () {
instruccion(1);
});
});
</script>
});
</script>