| | 548 | |
| | 549 | If you are using the Javascript Embed code for JW5, you can use the variables as follows: |
| | 550 | |
| | 551 | {{{ |
| | 552 | <script type="text/javascript">jwplayer("container").setup({ |
| | 553 | flashplayer: "player.swf", |
| | 554 | file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4", |
| | 555 | plugins: { |
| | 556 | "ova": |
| | 557 | { |
| | 558 | tag: "your-tag-goes-here" |
| | 559 | } |
| | 560 | }, |
| | 561 | height: 300, |
| | 562 | width: 450 |
| | 563 | }); |
| | 564 | </script> |
| | 565 | }}} |
| | 566 | |
| | 567 | You can find some examples of the minimum OVA for JW setup [http://static.openvideoads.org/qa/rc3-8/ova.jwplayer.5x/examples/pages/minimal/index.html here]. |
| | 568 | |
| | 569 | === 6.2 Minimum OVA for Flowplayer Setup === |
| | 579 | |
| | 580 | === 6.2 Other Shortcut Setup Variables === |
| | 581 | |
| | 582 | To support the "ova.tag" variable, several other "shortcut" variables have been defined. These can be used with the same minimum configuration approach above: |
| | 583 | |
| | 584 | * ova.debug - maps to the "levels" debug setting - so "ova.debug": "fatal, config, vast_template" sets the debug levels to "fatal, config, vast_template" |
| | 585 | * ova.autoplay - maps to the "autoPlay" config option |
| | 586 | * ova.delayadrequestuntilplay - maps to the standard "delayAdRequestUntilPlay" config option |
| | 587 | * ova.clearplaylist - OVA for JW5 only - allows OVA to be instructed as to whether or not the playlist should be cleared from the player as it initialises |
| | 588 | * ova.allowplaylistcontrol - OVA for JW5 only - maps to the "allowPlaylistControl" option |