Is this correct way to find the duration of the video?

i am trying to create a seek bar for my video without addlistner
$(“pre”).html(“duration ofthe video: " + $(”#player").duration());
var value = $(“#player”).duration();

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.