vimeo_player : small changes
This commit is contained in:
parent
ebbc358fbd
commit
3054ef60f5
|
|
@ -3147,10 +3147,10 @@ tarteaucitron.services.vimeo = {
|
||||||
"js": function () {
|
"js": function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
tarteaucitron.fallback(['vimeo_player'], function (x) {
|
tarteaucitron.fallback(['vimeo_player'], function (x) {
|
||||||
let frame_title = tarteaucitron.fixSelfXSS(tarteaucitron.getElemAttr(x, "data-title") || tarteaucitron.getElemAttr(x, "title") || 'Vimeo iframe'),
|
let frame_title = tarteaucitron.fixSelfXSS(tarteaucitron.getElemAttr(x, "title") || 'Vimeo iframe'),
|
||||||
video_width = tarteaucitron.getElemAttr(x, "data-width") || tarteaucitron.getElemAttr(x, "width"),
|
video_width = tarteaucitron.getElemAttr(x, "width"),
|
||||||
frame_width = 'width=',
|
frame_width = 'width=',
|
||||||
video_height = tarteaucitron.getElemAttr(x, "data-height") || tarteaucitron.getElemAttr(x, "height"),
|
video_height = tarteaucitron.getElemAttr(x, "height"),
|
||||||
frame_height = 'height=',
|
frame_height = 'height=',
|
||||||
|
|
||||||
video_id = tarteaucitron.getElemAttr(x, "videoID"),
|
video_id = tarteaucitron.getElemAttr(x, "videoID"),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue