![](https://secure.gravatar.com/avatar/1ab8906287e18e020b1e48e67fb4821e?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
how to set the duration?
Hi, is it possible on JWplayer 6 to set the duration of a file?
On JW5 it was possible, but I don't find the parameter on JW6.
thanks in advance for your help
Dave
Hi, is it possible on JWplayer 6 to set the duration of a file?
On JW5 it was possible, but I don't find the parameter on JW6.
thanks in advance for your help
Dave
There isn’t a variable for this, but you can use the API and onTime() to set it.
http://support.jwplayer.com/customer/portal/articles/1413089-javascript-api-reference