Permalink
Browse files

change videos again

  • Loading branch information...
1 parent eaa942c commit 09f26b25beb4eca3c69cca686b321caf09e96895 Carl Fürstenberg committed Mar 21, 2010
Showing with 17 additions and 9 deletions.
  1. +16 −8 example.html
  2. +1 −1 jquery.video.js
View
@@ -1,6 +1,8 @@
+<?xml version="1.1" charset="UTF-8"?>
<!DOCTYPE html>
-<html>
+<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script src="http://js.azatoth.net/libs/jquery/1.4.2/jquery.js"></script>
<script src="http://js.azatoth.net/libs/jquery-ui/1.8rc3/ui/jquery-ui.js"></script>
<script src="jquery.video.js"></script>
@@ -9,17 +11,26 @@
<title>jQuery UI Video test</title>
<style>
#foo {
- width: 640px;
- height: 320px;
+ width: 854px;
+ height: 480px;
}
</style>
+<script type="text/javascript"
+ src="http://jqueryui.com/themeroller/themeswitchertool/">
+</script>
<script>
$(function(){
$('#switcher').themeswitcher();
$('#foo').video({
+ poster: 'http://stream.azatoth.net/big_buck_bunny.png',
sources: [
- {'title': 'http://stream.azatoth.net/Big_Buck_Bunny_1080p_surround_FrostWire.com.avi', 'type': 'video/mp4'}
- ]
+ {'title': 'http://stream.azatoth.net/big_buck_bunny_480p_surround-fix.avi', 'type': 'video/mp4'},
+ {'title': 'http://stream.azatoth.net/big_buck_bunny_480p_h264.mov', 'type': 'video/h264'},
+ {'title': 'http://stream.azatoth.net/big_buck_bunny_480p_stereo.ogg', 'type': 'video/ogg'},
+ {'title': 'http://stream.azatoth.net/big_buck_bunny_720p_surround.avi', 'type': 'video/mp4'},
+ {'title': 'http://stream.azatoth.net/big_buck_bunny_720p_h264.mov', 'type': 'video/h264'},
+ {'title': 'http://stream.azatoth.net/big_buck_bunny_720p_stereo.ogg', 'type': 'video/ogg'}
+ ]
}
);
@@ -32,9 +43,6 @@
<body>
<div id="foo"></div>
<div>© copyright Blender Foundation | www.bigbuckbunny.org</div>
-<script type="text/javascript"
- src="http://jqueryui.com/themeroller/themeswitchertool/">
-</script>
<div id="switcher"></div>
</body>
View
@@ -154,7 +154,7 @@ $.widget("ui.video", {
if( self["_event_" + this] ) {
self.videoElement.bind( this + ".video", $.proxy(self["_event_" + this],self) );
} else {
- //console.log( "event %s missing/not implemented", this);
+ //self.videoElement.bind( this + ".video", $.proxy(function(){console.log("event %s", this, arguments)},this) );
}
}
);

0 comments on commit 09f26b2

Please sign in to comment.