poster on load, hide on play
This commit is contained in:
parent
3f128612ba
commit
75bd96ff94
2 changed files with 12 additions and 3 deletions
|
|
@ -301,9 +301,6 @@ window.VideoElement = function(options) {
|
|||
} else {
|
||||
video = document.createElement('video');
|
||||
}
|
||||
if (self.options.poster) {
|
||||
video.poster = self.options.poster
|
||||
}
|
||||
video.playsinline = true
|
||||
video.setAttribute('playsinline', 'playsinline')
|
||||
video.setAttribute('webkit-playsinline', 'webkit-playsinline')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue