| | 54 | == 3. On-Demand Overlays == |
| | 55 | |
| | 56 | Support has been for added "on-demand" overlays to OVA for JW5. |
| | 57 | |
| | 58 | To enable on-demand loading of overlays, use the "loadOnDemand" option as follows: |
| | 59 | |
| | 60 | {{{ |
| | 61 | { |
| | 62 | ... |
| | 63 | "ads": { |
| | 64 | "schedule": [ |
| | 65 | { |
| | 66 | "zone": "28", |
| | 67 | "position": "auto:bottom", |
| | 68 | "loadOnDemand": true, |
| | 69 | "startTime": "00:00:03", |
| | 70 | "duration": 10, |
| | 71 | "width": 450, |
| | 72 | "height": 50 |
| | 73 | } |
| | 74 | ] |
| | 75 | }, |
| | 76 | }}} |
| | 77 | |
| | 78 | An example of this setup running can be found [http://static.openvideoads.org/qa/latest/ova.jwplayer.5x/examples/pages/deferred-loading/example4.04.00.html here]. |
| | 79 | |
| | 80 | It is also possible to use the "refreshOnReplay" option to ensure that the overlay ad call is reloaded each time they are replayed. |
| | 81 | |