source:
branches/captions/doc/examples/multiple.html
@
1769
| Revision 1769, 983 bytes checked in by jeroen, 2 years ago (diff) |
|---|
| Rev | Line | |
|---|---|---|
| [1769] | 1 | <p>Here is a setup of the Captions plugin displaying <a href="http://www.longtailvideo.com/support/addons/captions-plugin/14974/captions-plugin-reference-guide#srt">SRT</a> captions in multiple languages. A language selection menu pops up when clicking the captions button:</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_captions_multiple.xml', 'exampleHTML'); | |
| 10 | }); | |
| 11 | </script> | |
| 12 | ||
| 13 | <p>Note that loading of the captions is subject to <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12541/crossdomain-file-loading-restrictions">crossdomain restrictions</a>. You need to place a <b>crossdomain.xml</b> file if your captions are hosted on another server than the player.</p> |
Note: See TracBrowser
for help on using the repository browser.
