Embed: add playsinline tag for iphones to webrtc and html5 players

This commit is contained in:
Cat 2020-07-10 17:47:17 +02:00 committed by Thulinma
parent a05dba0ce8
commit abba35f655
4 changed files with 5 additions and 2 deletions

View file

@ -40,6 +40,7 @@ p.prototype.build = function (MistVideo,callback) {
}
var video = document.createElement("video");
video.setAttribute("playsinline",""); //iphones. effin' iphones.
//apply options
var attrs = ["autoplay","loop","poster"];