mirror of
https://github.com/videojs/video.js.git
synced 2025-03-05 15:16:06 +02:00
Merge pull request #875 from dmlap/hotfix/poster-fallback
Fix capability detection for poster image
This commit is contained in:
commit
81e49d4361
@ -29,7 +29,7 @@ vjs.PosterImage = vjs.Button.extend({
|
||||
});
|
||||
|
||||
// use the test el to check for backgroundSize style support
|
||||
var _backgroundSizeSupported = 'backgroundSize' in vjs.TEST_VID;
|
||||
var _backgroundSizeSupported = 'backgroundSize' in vjs.TEST_VID.style;
|
||||
|
||||
vjs.PosterImage.prototype.createEl = function(){
|
||||
var el = vjs.createEl('div', {
|
||||
|
Loading…
x
Reference in New Issue
Block a user