-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtest.html
24 lines (23 loc) · 937 Bytes
/
test.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
<!DOCTYPE html>
<html>
<head>
<!-- External dependencies: Lean on jQuery & SWFObject -->
<script src="http://videos.23video.com/resources/um/script/swfobject/swfobject.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<!-- Eingebaut itself -->
<script src="eingebaut.js"></script>
</head>
<body>
<div id="video" style="width:640px; height:640px; background-color:yellow;"></div>
<script>
var eingebaut = new Eingebaut($('#video'), 'flash', 'lib/FlashFallback/Eingebaut.swf', function(event){
if(event=='ready') {
eingebaut.setSource('http://videos.23video.com/889267/1221663/f0b651b6fec5f516597f29ff7c12dced/video_medium/download/the -royal-danish-theatre-video.mp4');
eingebaut.setPlaying(true);
}
console.debug(event);
});
eingebaut.load();
</script>
</body>
</html>