tag video elements for inline play

This commit is contained in:
j 2021-11-21 11:57:20 +01:00
parent 3fa1c56510
commit c764680042

View file

@ -205,6 +205,10 @@ Ox.VideoElement = function(options, self) {
} else {
video = document.createElement('video');
}
video.playsinline = true
video.setAttribute('playsinline', 'playsinline')
video.setAttribute('webkit-playsinline', 'webkit-playsinline')
video.WebKitPlaysInline = true
return $(video);
};