MOBILE-2500 format-text: Allow full screen in embedded Youtube videos
parent
50637d0377
commit
19cfa99d00
|
@ -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