Menu

[r201]: / trunk / player / StrobeMediaPlayback / html-template / embed.html  Maximize  Restore  History

Download this file

59 lines (49 with data), 2.0 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!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>
<link type="text/css" href="jquery.strobemediaplayback.css" rel="stylesheet" />
<script type="text/javascript" src="lib/swfobject.js">
</script>
<script type="text/javascript" src="lib/jquery/jquery-1.4.2.js">
</script>
<script type="text/javascript" src="jquery.strobemediaplayback.js">
</script>
<script type="text/javascript">
$(function(){
// Get the page query string and retrieve page params
var options={}, queryString = window.location.search;
if (queryString) {
queryString = queryString.substring(1);
options = $.fn.strobemediaplayback.parseQueryString(queryString);
}
// Use a sample video for geeks that look at the source code for samples
if (!options.src)
{
options.src = "http://players.edgesuite.net/videos/big_buck_bunny/bbb_448x252.mp4";
}
options = $.fn.adaptiveexperienceconfigurator.adapt(options);
// Retrieve the window dimensions
options.width = $(window).width();
options.height = $(window).height();
// Now we are ready to generate the video tags
$("#strobemediaplayback").strobemediaplayback(options);
});
</script>
</head>
<body>
<div id="strobemediaplayback" >Alternative content</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.