开发者

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜