Closed karendolan closed 8 months ago
While in that file, add to https://github.com/polimediaupv/paella-core/blob/main/src/js/videoFormats/es.upv.paella.mp4VideoFormat.js#L40-L43
// The video is muted by default, to allow autoplay to work
if (!isMainAudio) {
this.element.muted = true;
// Also add setAttribute here for muted is to be registered in iOS
this.element.setAttribute('muted', '');
}
Typo in
es.upv.paella.mp4VideoFormat.js
This line:
this.element.setAttribute("playsinline","true");
// String value of "t""r""u""e" should be:this.element.setAttribute("playsinline","");
// booleanSame with
this.element.setAttribute("autoplay","true");
https://github.com/polimediaupv/paella-core/blob/main/src/js/videoFormats/es.upv.paella.mp4VideoFormat.js#L23-L38