We wish to create a video player with ad support.
1. Content video loaded from YouTube or VIMEO.
2. Ad Video (as PreRoll or PostRoll) loaded from local FLV or similar file hosted on our server.
The user must see in the video window a frame from the content video with a Play button;.
Once they press Play the PreRoll ad is loaded randomly and then immediately continues to play the content video from youtube.
3. Ad Video is chosen randomly from an XML or similar simple-to-manage list.
4. Video is clickable. (link)
5. Statistics such as number of plays of the Ad, and number of clicks on each video must be saved on a MySQL or another form of open DB / file.