Example 11 - Adding parameters to the default Companion SWF embed/object tags

This example illustrates how to add additional parameters to the OBJECT/EMBED tags used to display a SWF companion on the page.




300x250 iframe

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 10 - Retaining a Companion after the ad has played
   </ova.title>
   <ova.json>
       {
            "ads": {
              "companions": [
                  { "id":"companion", "width":"300", "height":"250", "index": 1 }
              ],
              "additionalParamsForSWFCompanions": [
                  { "name": "wmode", "value": "transparent" }
              ],

              "schedule": [
               {
                  "position": "pre-roll",
                  "tag": "../../../dist/templates/companions/companions-vast1.xml"
               }
              ]
            },

            "debug": {
              "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api",
              "debugger": "firebug"
            }
       }
   </ova.json>
</config>