Merge pull request #1418 from albertgasset/MOBILE-2500
MOBILE-2500 format-text: Allow full screen in embedded Youtube videosmain
commit
fd281c4363
|
@ -455,6 +455,7 @@ export class CoreFormatTextDirective implements OnChanges {
|
||||||
iframe.id = video.id;
|
iframe.id = video.id;
|
||||||
iframe.src = 'https://www.youtube.com/embed/' + youtubeId;
|
iframe.src = 'https://www.youtube.com/embed/' + youtubeId;
|
||||||
iframe.setAttribute('frameborder', '0');
|
iframe.setAttribute('frameborder', '0');
|
||||||
|
iframe.setAttribute('allowfullscreen', '1');
|
||||||
iframe.width = '100%';
|
iframe.width = '100%';
|
||||||
iframe.height = '300';
|
iframe.height = '300';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue