I want to add buttons, or just make the video holder clickable, to play/pause a video that autoplays when the webpage starts.
Have looked at this issue on Stack but have been unable to piece it together to fit in with my jQuery.
Any help would be appreciated! Thanks
jQuery
$(document).ready(function(){
$('#videoholder').append(
'<video width="600px" autoplay>' +
'<source src="Images/event-video.mp4" type="video/mp4"></source>' +
'</video>');
});
HTML
<div id="videoholder"></div>