mirror of
https://github.com/videojs/video.js.git
synced 2025-04-13 11:50:49 +02:00
Close GH-593: When autoplay = true, delete tag.poster instead of setting to null.
This commit is contained in:
parent
a040ce61ad
commit
02a1057ff4
@ -41,7 +41,7 @@ vjs.Html5 = vjs.MediaTechController.extend({
|
||||
// This fixes both issues. Need to wait for API, so it updates displays correctly
|
||||
player.ready(function(){
|
||||
if (this.options_['autoplay'] && this.paused()) {
|
||||
this.tag.poster = null; // Chrome Fix. Fixed in Chrome v16.
|
||||
delete this.tag['poster']; // Chrome Fix. Fixed in Chrome v16.
|
||||
this.play();
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user