summaryrefslogtreecommitdiffstats
path: root/web/react/utils/utils.jsx
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-08-24 10:00:12 -0700
committer=Corey Hulen <corey@hulen.com>2015-08-24 10:00:12 -0700
commit8519eb3f493ea59f071fdb018943aeb192e21224 (patch)
tree863dedef3b2156d95f10866fe09332c0303ba326 /web/react/utils/utils.jsx
parent677b7393b5e5fc5d1598e820d1ee78c2b0727e60 (diff)
parent3e73ff25d35bf5638aabe70b8596b8c80eb0882b (diff)
downloadchat-8519eb3f493ea59f071fdb018943aeb192e21224.tar.gz
chat-8519eb3f493ea59f071fdb018943aeb192e21224.tar.bz2
chat-8519eb3f493ea59f071fdb018943aeb192e21224.zip
Merging from master
Diffstat (limited to 'web/react/utils/utils.jsx')
-rw-r--r--web/react/utils/utils.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 09cd299df..4571312bb 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -271,11 +271,12 @@ function getYoutubeEmbed(link) {
iframe.setAttribute('src',
'https://www.youtube.com/embed/' +
div.id +
- '?autoplay=1&autohide=1&border=0&wmode=opaque&enablejsapi=1');
+ '?autoplay=1&autohide=1&border=0&wmode=opaque&fs=1&enablejsapi=1');
iframe.setAttribute('width', '480px');
iframe.setAttribute('height', '360px');
iframe.setAttribute('type', 'text/html');
iframe.setAttribute('frameborder', '0');
+ iframe.setAttribute('allowfullscreen', 'allowfullscreen');
div.parentNode.replaceChild(iframe, div);
}