Menu

[r162]: / trunk / player / StrobeMediaPlayback / html-template / jquery-embed-sample.html  Maximize  Restore  History

Download this file

44 lines (40 with data), 1.4 kB

 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Flash/Strobe Media Playback</title>
<style type="text/css">
body {
font: 12px Arial, sans-serif;
background-color: #000000;
color: #FFFFFF;
height: 100%;
width: 100%;
margin: 0;
overflow: hidden;
}
</style>
<script type="text/javascript" src="lib/jquery/jquery-1.4.2.js">
</script>
<script type="text/javascript" src="jquery.strobemediaplayback.js">
</script>
<link type="text/css" href="jquery.strobemediaplayback.css" rel="stylesheet" />
<script type="text/javascript">
$(function(){
// Get the page query string and retrieve page params
var options={
src: "http://players.edgesuite.net/videos/big_buck_bunny/bbb_448x252.mp4",
src_ogg: "http://players.edgesuite.net/videos/big_buck_bunny/bbb_448x252.ogg",
width: 480,
height: 362,
poster: "images/poster.png"
};
// Now we are ready to generate the video tags
$("#strobemediaplayback").strobemediaplayback(options);
});
</script>
</head>
<body>
<div id="strobemediaplayback" ></div>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.