source: plugins/sharing/doc/examples/html5.html @ 1917

Revision 1917, 799 bytes checked in by jeroen, 23 months ago (diff)

some doc fixes and additional CSS resets on labels/inputs of overlay

Line 
1<p>Here is an example of the sharing plugin in a player that has HTML5 mode set first. Since both an MP4 and WebM version of the video are provided, the video (and plugin) is rendered in HTML5 on all modern browsers:</p>
2
3
4<script src="http://player.longtailvideo.com/jwplayer.js" type="text/javascript"></script>
5<script src="/content/js/examples/jwexample.js" type="text/javascript"></script>
6<div id="exampleHTML"></div>
7<script type="text/javascript">
8    $(document).ready(function() {
9        jwExample('/support/sites/default/files/example_sharing_html5.xml', 'exampleHTML');
10    });
11</script>
12
13
14<p>There is only one difference between the HTML5 and Flash modes of this plugin: in HTML5, the <b>Copy</b> buttons are not available, b/c HTML5 does not (yet) support clipboard functionality.</p>
Note: See TracBrowser for help on using the repository browser.