Skip to content

Commit f5553bf

Browse files
committed
add webm example
1 parent f65ce4a commit f5553bf

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

example-webm.html

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6+
<title>BigVideo.js - The jQuery Plugin for Big Background Video</title>
7+
<meta name="description" content="BigVideo.js - The jQuery Plugin for Big Background Video" />
8+
<meta name="author" content="John Polacek" />
9+
<meta name="viewport" content="width=device-width">
10+
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:900&text=ABCDEFGHIJKLMNOPQRSTUVWXYZ' rel='stylesheet' type='text/css'>
11+
<link rel="stylesheet" href="css/style.css">
12+
<link rel="stylesheet" href="css/bigvideo.css">
13+
</head>
14+
<body>
15+
<!-- BigVideo Dependencies -->
16+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
17+
<script>window.jQuery || document.write('<script src="js/jquery-1.7.2.min.js"><\/script>')</script>
18+
<script src="js/jquery-ui-1.8.22.custom.min.js"></script>
19+
<script src="js/jquery.imagesloaded.min.js"></script>
20+
<script src="http://vjs.zencdn.net/c/video.js"></script>
21+
22+
<!-- BigVideo -->
23+
<script src="js/bigvideo.js"></script>
24+
25+
<!-- Demo -->
26+
<script>
27+
$(function() {
28+
var BV = new $.BigVideo({useFlashForFirefox:false});
29+
BV.init();
30+
BV.show('vids/river.mp4', {altSource:'vids/river.ogv'});
31+
});
32+
</script>
33+
</body>
34+
</html>

vids/river.webm

401 KB
Binary file not shown.

0 commit comments

Comments
 (0)