jquery video play 1

jquery video play

$('#videoId').get(0).play()

Here is what the above code is Doing:
1. We’re selecting the video element with the id of videoId.
2. We’re calling the get() method on the jQuery object to get the DOM element.
3. We’re calling the play() method on the DOM element.

Similar Posts