forked from alvarotrigo/fullPage.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/dev'
- Loading branch information
Showing
9 changed files
with
241 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="https://www.w3.org/1999/xhtml"> | ||
|
||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>Background video - fullPage.js</title> | ||
<meta name="author" content="Alvaro Trigo Lopez" /> | ||
<meta name="description" content="fullPage full-screen backgrounds." /> | ||
<meta name="keywords" content="fullpage,jquery,demo,screen,fullscreen,backgrounds,full-screen" /> | ||
<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" /> | ||
|
||
<!--[if IE]> | ||
<script type="text/javascript"> | ||
var console = { log: function() {} }; | ||
</script> | ||
<![endif]--> | ||
|
||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.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({ | ||
verticalCentered: true, | ||
sectionsColor: ['#1bbc9b', '#4BBFC3', '#7BAABE'] | ||
}); | ||
}); | ||
</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 " id="section0"> | ||
<h1>auto play/pause</h1> | ||
<p>When using the tag `autoplay` in the media element fullpage.js automatically plays media elements when accessing to the section/slide in which they are</p> | ||
</div> | ||
<div class="section" id="section1"> | ||
<div class="slide" id="slide1"> | ||
<h1>Videos</h1> | ||
<video autoplay loop muted id="myVideo"> | ||
<source src="imgs/flowers.mp4" type="video/mp4"> | ||
<source src="imgs/flowers.webm" type="video/webm"> | ||
Your browser does not support the audio element. | ||
</video> | ||
</div> | ||
<div class="slide" id="slide2"> | ||
<h1>Audio</h1> | ||
<audio autoplay controls=""> | ||
<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> | ||
<div class="section" id="section2"> | ||
<h1>Audio</h1> | ||
<audio autoplay controls=""> | ||
<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> |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.