forked from pupunzi/jquery.mb.YTPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo_player.html
66 lines (58 loc) · 1.7 KB
/
demo_player.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!doctype html>
<!--
~ jquery.mb.components
~ Copyright (c) 2001-2010. Matteo Bicocchi (Pupunzi); Open lab srl, Firenze - Italy
~ email: mbicocchi@open-lab.com
~ site: http://pupunzi.com
~
~ Licences: MIT, GPL
~ http://www.opensource.org/licenses/mit-license.php
~ http://www.gnu.org/licenses/gpl.html
-->
<html>
<head>
<title>mb.YTPlayer - A youtube custom Player</title>
<link href="css/mb.YTVPlayer.css" media="all" rel="stylesheet" type="text/css">
<style type="text/css">
body{
background: url("images/06.jpg");
margin:0;
}
#content{
color:white;
font:40px/40px Calibri;
text-align:center;
padding-top:120px;
text-shadow:#666666 2px 2px 4px;
}
.movie{
display:none;
}
.dida{
position:fixed;
bottom:0;
font: 12px/14px Arial, sans-serif;
color:white;
padding:10px;
}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="inc/jquery.metadata.js"></script>
<script type="text/javascript" src="inc/jquery.mb.YTPlayer.js"></script>
<script type="text/javascript">
$(function(){
$(".movie").mb_YTPlayer();
});
</script>
</head>
<body>
<div id="content">
<img src="http://pupunzi.com/images/logo.png" alt="mb">
<br><br>
This is a custom Youtube® video player;<br>
you can customize all the elements via css.<br><br>
<a id="pippo" href="http://www.youtube.com/watch?v=HPH4cKbZEcQ" class="movie {opacity:.8, isBgndMovie:false, ratio:'4/3'}">video player</a>
</div>
<div class="dida">Michael Galasso in concert, Villa Magia, Dicember 2007, Italy</div>
</body>
</html>