| Current Path : /home/h/a/p/happyrenas/old/happy-and-pay.fr/js/fullpage/examples/ |
Linux webd005.cluster105.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 |
| Current File : /home/h/a/p/happyrenas/old/happy-and-pay.fr/js/fullpage/examples/autoplayVideoAndAudio.html |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Autoplay / pause media - fullPage.js</title>
<meta name="author" content="Alvaro Trigo Lopez" />
<meta name="description" content="fullPage full-screen autoplay videos and audio." />
<meta name="keywords" content="fullpage,jquery,demo,autoplay,video,audio,html5,paluse" />
<meta name="Resource-type" content="Document" />
<link rel="stylesheet" type="text/css" href="../jquery.fullPage.css" />
<link rel="stylesheet" type="text/css" href="examples.css" />
<style>
.intro p{
color: #fff;
}
</style>
<!--[if IE]>
<script type="text/javascript">
var console = { log: function() {} };
</script>
<![endif]-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="../vendors/jquery.slimscroll.min.js"></script>
<script type="text/javascript" src="../jquery.fullPage.js"></script>
<script type="text/javascript" src="examples.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#fullpage').fullpage({
sectionsColor: ['#C63D0F', '#1BBC9B', '#7E8F7C'],
anchors: ['firstPage', 'secondPage', '3rdPage']
});
});
</script>
</head>
<body>
<select id="demosMenu">
<option selected>Choose Demo</option>
<option id="backgrounds">Background images</option>
<option id="backgroundVideo">Background video</option>
<option id="gradientBackgrounds">Gradient backgrounds</option>
<option id="backgroundsFixed">Fixed fullscreen backgrounds</option>
<option id="looping">Looping</option>
<option id="noAnchor">No anchor links</option>
<option id="scrollingSpeed">Scrolling speed</option>
<option id="easing">Easing</option>
<option id="callbacks">Callbacks</option>
<option id="css3">CSS3</option>
<option id="continuous">Continuous scrolling</option>
<option id="normalScroll">Normal scrolling</option>
<option id="scrollBar">Scroll bar enabled</option>
<option id="scrolling">Scroll inside sections and slides</option>
<option id="navigationV">Vertical navigation dots</option>
<option id="navigationH">Horizontal navigation dots</option>
<option id="fixedHeaders">Fixed headers</option>
<option id="apple">Apple iPhone demo (animations)</option>
<option id="oneSection">One single section</option>
<option id="responsiveHeight">Responsive Height</option>
<option id="responsiveWidth">Responsive Width</option>
<option id="methods">Methods</option>
</select>
<div id="fullpage">
<div class="section intro">
<iframe width="560" height="315" src="https://www.youtube.com/embed/qiCVPpI9l3M" frameborder="0" allowfullscreen data-autoplay></iframe>
<p>
The video will automatically start playing as I'm usign the attribute `data-autoplay`.
</p>
<p>
And because I'm not using the attribute `data-keepplaying` the video will automatically stop playing after leaving the section or slide.
</p>
</div>
<div class="section">
<div class="slide">
<h1>HTML 5 videos</h1>
<video loop muted controls="false" data-autoplay>
<source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">
<source src="http://www.w3schools.com/html/mov_bbb.ogg" type="video/ogg">
</video>
</div>
<div class="slide intro">
<h1>In slides!</h1>
<iframe width="560" height="315" src="https://www.youtube.com/embed/qiCVPpI9l3M" frameborder="0" allowfullscreen data-autoplay></iframe>
</div>
</div>
<div class="section">
<h1>Audio</h1>
<audio controls="" data-autoplay>
<source src="imgs/horse.ogg" type="audio/ogg">
<source src="imgs/horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</div>
</div>
</body>
</html>