mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-08 21:39:32 +00:00
playsinline fix for mobile safari
This commit is contained in:
@@ -230,6 +230,7 @@ function createPlayer(button) {
|
||||
videoPlayer.setAttribute('controls', true);
|
||||
videoPlayer.setAttribute('autoplay', true);
|
||||
videoPlayer.setAttribute('width', '100%');
|
||||
videoPlayer.setAttribute('playsinline', true);
|
||||
videoPlayer.setAttribute('poster', mediaThumb);
|
||||
playerElement.appendChild(videoPlayer);
|
||||
// title bar
|
||||
|
||||
Reference in New Issue
Block a user