diff --git a/bigbluebutton-html5/imports/ui/components/external-video-player/component.jsx b/bigbluebutton-html5/imports/ui/components/external-video-player/component.jsx
index 6530db6c8d13..b28fe072bb24 100644
--- a/bigbluebutton-html5/imports/ui/components/external-video-player/component.jsx
+++ b/bigbluebutton-html5/imports/ui/components/external-video-player/component.jsx
@@ -97,14 +97,14 @@ class VideoPlayer extends Component {
this.opts = {
// default option for all players, can be overwritten
playerOptions: {
- autoplay: true,
+ autoplay: false,
playsinline: true,
controls: isPresenter,
},
file: {
attributes: {
controls: isPresenter ? 'controls' : '',
- autoplay: 'autoplay',
+ //autoplay: 'autoplay',
playsinline: 'playsinline',
},
},
@@ -117,8 +117,12 @@ class VideoPlayer extends Component {
},
},
youtube: {
+ //For pic-in-pic, you need to use the browser's function by another right clicking after showing the Youtube's menu.
playerVars: {
- autoplay: 1,
+ //with this comment out autoplay stops but the video size would not be adjusted
+ // thus pic-in-pic option does not appear until you manually start playing
+ //If you close the video before the size is adjusted, the presentation will disappear!
+ //autoplay: 1,
modestbranding: 1,
autohide: 1,
rel: 0,