Home › Forums › Javascript › Add controls attribute to video element using jQuery › Reply To: Add controls attribute to video element using jQuery
April 11, 2020 at 6:40 am
#2706
Keymaster
$('.video-js').attr('controls',true);
Alternatively if you're using jQuery 1.6+ you may/should use
$(".video-js").prop("controls",true);
Best Answer
-
This reply was modified 3 years, 5 months ago by
Techy Online.