Can we mute the first 50 seconds of a video by default for a video with the help of this player and play it for the users? for eg, a video is on a server which is of 10 minutes. The link opens the video, but it should mute out the first 10 seconds and then play. Video playing is ok, audio first 10-20 seconds should be muted. is it possible/
My name is Alex and I am one of the Support Engineers at JW Player. I will be more than happy to assist you with your questions.
You should be able to use .on(“time”), which fires a few times every second. Inside of the .on(“time”) event, you can check to see if the current position of playback is higher than a certain amount of seconds and if the player is currently muted – if both are true, then you can unmute the player.
You can see an example of this in action, plus a code example, at this test page. On the test page, I’m setting the player to mute itself once the playback begins and then, after 10 seconds, it will unmute.
Please let me know if you need any more help or have any other questions.
This question has received the maximum number of answers.