I am trying to figure out how to add controls to a video using jQuery.I tried the following, but this did not work:
$('.video-js').attr('controls', 'controls');
try it
$('.video-js').attr('controls',true);
Alternatively, if you are using jQuery 1.6+, you can / should use
$(".video-js").prop("controls",true);
Source: https://habr.com/ru/post/893726/More articles:When calling ReadDirectoryChangesW, only the first call returns any changes (both synchronize and asynchronously) - c ++Bz2 every file in the directory - linuxbigint in mysql - phpLoading JSON data from remote services at the same time - optimizationASP.NET HTTP Connection Restriction - asp.netUpdate / reload maps: Google maps API V2 - javascriptDoes the Zend Framework separate developer environment information from configuration? - phpWhat is the best way to store user uploaded files on a website? - fileJavascript: cross-browser solution for selecting all text inside a text field in focus - javascriptGoogle Chrome, endless loops and text selection - javascriptAll Articles