Commercial in front of video, HTML5
Is it possible to force the user t开发者_JAVA技巧o view a commercial before the actual video begins when using video embedding in HTML5?
Any links to relevant info would be appriciated!
This is called Pre-roll.
The HTML5 specification doesn’t. You can write JavaScript and logic around your video in order to create a pre-roll system. Ad servers and ad networks are now starting to support HTML5 video.
To do this I would essentially load the first video and onFinish trigger a method to load up your actual video.
Thanks!
精彩评论