Popup player
A click on a thumbnail or a title opens the video in a popup over your page. The popup uses the Magnific Popup script that comes with the module and loads YouTube's player from www.youtube.com/embed. The video starts playing as soon as the popup opens.
Visitors close the popup with the cross, the Escape key or a click outside the video. The arrows on the sides move to the other videos of the same module.
In the Default layout the title and the thumbnail of a video are both in the popup's list, so the arrows show each video twice. This is a known issue in 6.0.2.
Player settings
The options under Player Settings on the Module tab are sent to YouTube's player with each video.
| Option | Default | What it does |
|---|---|---|
| Closed Captions | Disabled | Enabled turns captions on when the video starts, if the video has them. |
| Progress Color | Red | The colour of the played part of the progress bar: Red or White. |
| Controls | Show | Hide removes the player controls. |
| Full Screen | Show | Hide removes the full screen button. |
| Video Annotations | Show | Hide asks YouTube not to show annotations. YouTube removed most annotations from its player, so this rarely changes anything. |
| Show Related Videos | Hide | With Hide, YouTube shows related videos from the same channel when the video ends. With Show, they can come from any channel. |
YouTube has retired these player options. The module still sends them, but YouTube's current player ignores them: Autohide Controls, Border, Color 1, Color 2, HD, Modest Branding and Theme. Use HTTPS has no effect either: the module always uses HTTPS.
Custom code in the popup
Custom Code in Gallery under Other Settings takes HTML. When the popup opens, the module shows this HTML at the top of the popup, centred. Use it for a short line, a subscribe link or a banner.
The code is added to the page as it is, so only enter HTML you trust.
Popup size
The popup is as wide as the screen allows, up to 900 pixels, in a 16:9 frame. The module has no option to change this.