1
0
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:
Steve Heffernan 2013-12-05 13:55:29 -08:00
commit 81e49d4361

View File

@ -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', {