YouTube
YouTube is Google's video site. JoomMedia adds YouTube videos to your gallery from their link: the video keeps playing from YouTube, and JoomMedia stores its title, description, thumbnail and length so it sits in your categories, albums and playlists like any other item.
Two plugins handle YouTube links, both enabled on install:
| Plugin | Links |
|---|---|
| JoomMedia - Remote (Youtube.com) | https://www.youtube.com/watch?v=..., https://www.youtube.com/embed/..., or a bare video ID |
| JoomMedia - Remote (Youtu.be) | Short links https://youtu.be/.... It uses the Youtube.com plugin's settings, so keep both enabled |
Links of the form youtube.com/shorts/... and youtube.com/live/... are not recognised in 6.1.5. Open the video on YouTube, click Share and use the youtu.be link instead.
Add a YouTube video
- Go to Content > Media Items and click New, or open the Upload page on the site.
- Open Add Remote Media and paste the link. With Quick multi uploads, you can paste several links, one per line.
- Choose the category and other details, and add the media.
See Adding media. Members need the Add Remote Media permission and Enable remote imports must be on.
There is no bulk import of whole YouTube channels or playlists in JoomMedia 6.1.5. Add the videos one link at a time, or several links in one go.
The API key
Without a key, JoomMedia reads the title and the thumbnail from YouTube's public oEmbed service. With a key, it also gets the description and the length of the video.
To get a key:
- Open the Google Cloud Console and create a project.
- Enable the YouTube Data API v3 for the project.
- Create an API key under Credentials. Restrict it to the YouTube Data API.
- In JoomMedia, open the options (Settings > Configuration), go to the Integrations tab and paste the key in Youtube API Key.
- Save.
The key is used when a video is added. Videos added before you set the key keep the details they got then.
Player settings
Open JoomMedia - Remote (Youtube.com) in the plugin manager to set how YouTube's player behaves:
| Setting | What it does |
|---|---|
| Integrate with local player (No) | Plays YouTube videos inside JoomMedia's MediaElement.js player instead of YouTube's own player |
| Closed captions | Shows subtitles by default |
| Controls, Full screen | Shows the player controls and the full-screen button |
| Loop | Plays the video again when it ends |
| Modest Branding | Shows less YouTube branding |
| Show related videos (No) | At the end, related videos from any channel, or only from the same channel |
| Video annotations | Shows or hides annotations |
| Progress color | Red or white progress bar |
YouTube no longer uses some older settings in the list, such as Autohide controls, Border, Color 1, Color 2, HD, Show Info Bar and Theme. They do no harm.
Media autoplay in Options > Player also applies to YouTube videos.