I have a CDN where I host many videos. But I need to add some engagement to go along with a user click.
I store them as MP4's and need to turn Autoplay OFF. Also, I would like to track the hit-count for each video.
Can you provide a basic HTML page (and Javascript?) which plays a video, with Autoplay set to FALSE?
media.mydomain.com/videos/video1.mp4Secondly, I need to increment a view counter, so I presume I would need to create a webservice that accepts an input param that would be the video name.
incrementUserClick("video1.mp4");
So, please comment on the best way to accomplish this.
Thanks,
Robert
ASKER
What kind of header tag is needed in the first line of the HTML file?