Commit 16e6554c authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel 🏀

adjust iframe size to standard Youtube size

parent ec0ea519
......@@ -67,6 +67,8 @@ export let MarkdeepContent = class MarkdeepContent {
static adjustIframe (content) {
let element = $(content);
$(element).find('iframe').each(function () {
$(this).attr('width', 560);
$(this).attr('height', 315);
$(this).attr('frameBorder', 0);
});
return $('<div/>').append(element).html();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -6,7 +6,7 @@
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"chart.js": "^2.5.0",
"chart.js": "^2.7.3",
"dompurify": "^1.0.3",
"fibers": "^2.0.2",
"ink-docstrap": "~1.3.0",
......@@ -25,8 +25,8 @@
"gulp-jscs": "^3.0.2",
"gulp-jshint": "^2.0.0",
"gulp-watch": "^4.3.5",
"gulp4": "^4.0.2",
"jshint": "^2.9.5",
"gulp4": "^4.0.3",
"jshint": "^2.9.6",
"jshint-stylish": "^2.1.0"
},
"author": "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment