Playing pre-roll, post-roll ads using xml
1. Open HD FLV Player – xml – ads.xml.
2. XML attributes – which helps you to play pre-roll and post-roll ads
| S.no | Attributes | Value | Process |
| 1 | Random | true‘ or’ false | If set to true – Player plays the ads in random from ads xml file. |
| 2 | id | Your ads video id goes here | |
| 3 | url | Absolute path of ad video. | |
| 4 | targeturl | Absolute path. | Page to be directed on clicking the ad. |
| 5 | clickurl | A php file that counts the ad clicks. –optional | |
| 6 | Impressionurl | . – optional | |
| <![CDATA[Your ad description goes here]]> A short description displayed while playing the ad. | |||
Playing pre-roll, post-roll ads using flashvars
- Variables – which helps you to play ads through flashvars?
Please refer the above ads attributes table for flashvars variables.
Related Posts via Categories
- Supported file formats
- Error loading required skin
- Example of code which plays youtube videos from playlist.xml
- Example of code playing scanscout ads through xml
- Example of code which plays lighttpd server files from xml
- Example of code which plays rtmp server files from xml
- Example of code which plays Pre-roll, Post-roll, Mid-roll from xml
- Example of code which plays videos from playlist.xml
- Example of code which plays YouTube videos from flashvars
- Example of code playing scanscout ads through flashvars