Example 3 - Using Custom Properties to set the Show Title and Description

The following example illustrates how to set custom properties on a "show" stream such as the title and description of the clip.


${title}
${description}

The configuration for this example is:


flowplayer("a.example", "", {
    plugins: {
        controls: {
            autoHide: "always"
        },

        ova: {
            url: "",

            "debug": {
                "levels": ""
            },

            "shows": {
                "streams": [ 
              	   { 
                        "file": "", 
                        "duration":"00:00:10",
                        "customProperties": {
                            "title": "Movie Title 1",
                            "description": "Short Movie"
                        } 
              	   }, 
              	   { 
                        "file": "", 
                        "duration":"00:00:15",
                        "customProperties": {
                            "title": "Movie Title 2",
                            "description": "A Shorter Movie"
                        } 
              	   } 
                ]
            },

            "ads": {
                "pauseOnClickThrough": true,
                "servers": [
                   {
                       "type": "OpenX",
                       "apiAddress": ""
                   }
                ],
                "schedule": [
                    {
                       "zone": "5",
                       "position": "pre-roll"
                    }
                 ]
             }
         }
     }
});