tag video elements for inline play
This commit is contained in:
parent
3fa1c56510
commit
c764680042
1 changed files with 4 additions and 0 deletions
|
@ -205,6 +205,10 @@ Ox.VideoElement = function(options, self) {
|
||||||
} else {
|
} else {
|
||||||
video = document.createElement('video');
|
video = document.createElement('video');
|
||||||
}
|
}
|
||||||
|
video.playsinline = true
|
||||||
|
video.setAttribute('playsinline', 'playsinline')
|
||||||
|
video.setAttribute('webkit-playsinline', 'webkit-playsinline')
|
||||||
|
video.WebKitPlaysInline = true
|
||||||
return $(video);
|
return $(video);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue