Merge branch 'master' of https://github.com/AmauriC/tarteaucitron.js
This commit is contained in:
commit
17b5c78f34
|
|
@ -4284,8 +4284,8 @@ tarteaucitron.services.youtube = {
|
|||
"use strict";
|
||||
var id = 'youtube';
|
||||
tarteaucitron.fallback(['youtube_player'], function (elem) {
|
||||
elem.style.width = elem.getAttribute('width') + 'px';
|
||||
elem.style.height = elem.getAttribute('height') + 'px';
|
||||
elem.style.width = tarteaucitron.getElemAttr(elem,'width') + 'px';
|
||||
elem.style.height = tarteaucitron.getElemAttr(elem,'height') + 'px';
|
||||
return tarteaucitron.engage(id);
|
||||
});
|
||||
}
|
||||
|
|
@ -4333,8 +4333,8 @@ tarteaucitron.services.youtubeplaylist = {
|
|||
"use strict";
|
||||
var id = 'youtubeplaylist';
|
||||
tarteaucitron.fallback(['youtube_playlist_player'], function (elem) {
|
||||
elem.style.width = elem.getAttribute('width') + 'px';
|
||||
elem.style.height = elem.getAttribute('height') + 'px';
|
||||
elem.style.width = tarteaucitron.getElemAttr(elem,'width') + 'px';
|
||||
elem.style.height = tarteaucitron.getElemAttr(elem,'height') + 'px';
|
||||
return tarteaucitron.engage(id);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue