I would just like to add the autobuffer attribute to my video tag using javascript.
Mostly:
var video = document.createElement('video'); video.addAttribute('autoBuffer');
And I will have:
<video autoBuffer></video>
I tried:
video.setAttribute('autoBuffer'); => <video autoBuffer="undefined"></video>
What is wrong...
Jalyo source share