|
Revision 1, 1.9 kB
(checked in by jeroen, 18 months ago)
|
|
initial commit of old repository into public one
|
| Line | |
|---|
| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 3 | <head> |
|---|
| 4 | |
|---|
| 5 | <title>JW WMV Player</title> |
|---|
| 6 | |
|---|
| 7 | <style type="text/css"> |
|---|
| 8 | body { background-color: #fff; padding: 0 25px; color:#000; font: 13px/18px Arial, sans-serif; } |
|---|
| 9 | a { color: #360; } |
|---|
| 10 | h3 { padding-top: 50px; } |
|---|
| 11 | </style> |
|---|
| 12 | |
|---|
| 13 | </head> |
|---|
| 14 | <body> |
|---|
| 15 | |
|---|
| 16 | <h3>Example</h3> |
|---|
| 17 | <p>Here's a simple example of the <a href="http://www.jeroenwijering.com/?item=JW_WMV_Player">JW WMV Player</a> embedded in a page. Copy-paste the source code and put the files on your site to get started.</p> |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | <div id="container"></div> |
|---|
| 22 | |
|---|
| 23 | <script type='text/javascript' src="silverlight.js"></script> |
|---|
| 24 | <script type='text/javascript' src="wmvplayer.js"></script> |
|---|
| 25 | <script type="text/javascript"> |
|---|
| 26 | var cnt = document.getElementById("container"); |
|---|
| 27 | var src = 'wmvplayer.xaml'; |
|---|
| 28 | var cfg = { |
|---|
| 29 | file:'afraid.wmv', |
|---|
| 30 | image:'afraid.jpg', |
|---|
| 31 | height:'220', |
|---|
| 32 | width:'400' |
|---|
| 33 | }; |
|---|
| 34 | var ply = new jeroenwijering.Player(cnt,src,cfg); |
|---|
| 35 | </script> |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | <h3>Quickstart</h3> |
|---|
| 40 | <p>The easiest way to get going with the wmvplayer is <a href="http://www.jeroenwijering.com/?page=wizard&example=41">by using the setup wizard</a>. Select an example, set the file or playlist you want to play and copy-paste the embed code to your site! A list of all available settings can be found <a href="http://www.jeroenwijering.com/?item=Supported_Flashvars" title="All Variables supported by the WMV Player">at the Supported Flashvars page</a>.</p> |
|---|
| 41 | |
|---|
| 42 | <h3>Licensing</h3> |
|---|
| 43 | <p>The WMV Player is licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">Creative Commons License</a>. It allows you to use, modify and redistribute the script for free for noncommercial purposes. For corporate use, <a href="http://www.jeroenwijering.com/?page=order" title="Order commercial licenses">please apply for a 20 euros commercial license</a>!</p> |
|---|
| 44 | |
|---|
| 45 | </body> |
|---|
| 46 | </html> |
|---|