Hello , i want to know Is there a HTML code or simple code that can play a video from a custom position
( Example :- I will play i cloudinary video in an embed iframe And the user told the app to start this video with 30 seconds )
Hello , i want to know Is there a HTML code or simple code that can play a video from a custom position
( Example :- I will play i cloudinary video in an embed iframe And the user told the app to start this video with 30 seconds )
<video id="vid1" width="320" height="240" controls loop>
<source src="Video.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<script>
window.onload=function(){
document.getElementById('vid1').addEventListener('loadedmetadata',function() {
this.currentTime = 200;
}, false );
};
</script>
You can use This Code
Have you got your answer??
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.