Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Event doesn't happen on JWPlayer v5.10

Hello everybody,
I use example code from JW Player Quick Start Guide. It has a function to get event onComplete but it don't work. What is wrong here? Can everybody help me?

The code is following:

bc.. <div id="container">Loading the player ...</div>
<script type="text/javascript">
flashplayer: "/jwplayer/player.swf",
file: "/videos/video.mp4",
height: 270,
width: 480,
events: {
onComplete: function() { alert("the video is finished!"); }

1 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Please provide a link.

This question has received the maximum number of answers.