source: plugins/related/test/compatibility.html @ 1957

Revision 1957, 1.1 KB checked in by jeroen, 22 months ago (diff)

added onclick option (play or link) to related plugin

  • Property svn:executable set to *
Line 
1<!DOCTYPE html>
2<html lang="en">
3<head>
4
5<meta charset="UTF-8">
6<script type="text/javascript" src="assets/swfobject.js"></script>
7<title>Backward compatibility</title>
8<style>
9    body { padding: 50px; font: 13px/20px Arial; background: #EEE; }
10    #player, p, ul { margin-top: 20px; display: block; }
11    #player { -webkit-box-shadow: 0 0 5px #999; background: #000; color:#FFF; line-height:270px; text-align: center; }
12</style>
13
14</head>
15<body>
16
17<h2>Backward compatibility</h2>
18
19<div id="player">Select an option</div>
20
21<script type="text/javascript">
22    swfobject.embedSWF(
23        'assets/player-5.2.swf',
24        'player',
25        720,
26        294,
27        '9.0.0',
28        null,
29        {file:'assets/playlist.xml', playlist: 'right', playlistsize: 240, plugins:'../related.swf', 'related.heading':'Check out these vids too:'},
30        {allowfullscreen:'true',allowscriptaccess:'always'},
31        {id:'player',name:'player'}
32    );
33</script>
34
35<p>
36    This test uses the 5.2 player and the SWFObject embed method.<br />
37    All related features are enabled: useicons, oncomplete, heading and playlisting.
38</p>
39
40</body>
41</html>
Note: See TracBrowser for help on using the repository browser.