Open Juanryhn opened 2 years ago
const video = document.querySelector('video');
video?.setAttribute('playsinline', '');
video?.setAttribute('webkit-playsinline', '');
video?.setAttribute('autoplay', '');
video?.setAttribute('width', ${sizes.WIDTH}px
);
video?.setAttribute('height', ${sizes.HEIGHT}px
);
video?.removeAttribute('controls');
i added it and it worked
I found an issue that on iphone 11 ++ with saving battery mode is on will show an icon play and pause. How do I remove it ?. Thank you in advance