Copy link to clipboard
Copied
Hello. Does anyone know how the length of an event video can be displayed in the project. I went through all of the skins and non of them include that option. I would like the users to be able to know how long the video is. Please advise. Thanks
Copy link to clipboard
Copied
You can get with javascript using this
$('video')[0].duration
Couple of things to keep in mind
1. The event video must be rendered (meaning if video doesn't hit until slide 4 but you execute this command on slide 3 with no video you will get undefined)
2. This will do all video elements on slide as $('video') returns every video with a <video> tag...The [0] in the code is selecting the first element that $('video) found