开发者

JW Player - how to send user to a certain url when they click on the video

When the user clicks on the video once its ended id like it to pop up a window with a new url in it - how开发者_如何学运维 can i do this in jw player?


If you want the pop up in the player you'll need to create a flash plugin for it.

If you want a javascript alert, you can do something like this.

jwplayer().onComplete(videoEnded)

function videoEnded()
{
    alert("Your Message: and url"); 
}

http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12540/javascript-api-reference

Or for the Flash plugin http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/17679/building-flash-plugins

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜