2 Easy Ways to Embed YouTube Videos in Mattermost Updated on May 27, 2021 by InMotion Hosting Contributor 1 Minutes, 39 Seconds to Read The Mattermost online chat system allows you to do a lot before needing to install plugins or integrations. Many additional features are available but need to be enabled in the system console by a user with the system admin role. This is the case with playing YouTube videos within Mattermost channels and threads. Audio/video media files uploaded directly to Mattermost will show in a pop-up window. URLs to multimedia files will open a new tab. Below we cover: Allow Embedding YouTube Videos in MattermostSystem ConsoleConfiguration FileUser Settings to Allow Link Preview As of April 2020, Mattermost doesn’t support embedding Vimeo, SoundCloud, Spotify, Vlare, or Clyp.it media files. Allow Embedding YouTube Videos in Mattermost Mattermost system admins can enable embedding YouTube videos and other link previews within the System Console or configuration file. System Console Log into Mattermost as a system adminIn the upper-left corner, select your username, then System ConsoleUnder Site Configuration, select PostsBeside Enable Link Previews, select trueSave changes at the bottom Configuration File If you can’t enable link previews in the System Console, you’ll need to edit the raw configuration file. Log into SSH as rootEdit your Mattermost configuration file: nano +33 /opt/Mattermost/config/config.jsonIf this isn’t the location of your Mattermost configuration file, you can search for it with the find command:find / -name config.json | grep mattermostBeside “EnableLinkPreviews”, change false to true: “EnableLinkPreviews”: true,Save your changes User Settings to Allow Link Preview Mattermost users can disable link previews for their individual workflow or network capabilities. This change applies to all channels and teams the user joins. Log into MattermostIn the upper-left corner, select your username, then Account SettingsOn the left, select DisplaySet Website Link Previews to OffSelect Save and link previews will disappear If link previews are disabled, YouTube videos shared in the past may not disappear unless disabled by a system admin. Is your Mattermost team collaborating on music production? Learn more about how to create a musician’s website with WordPress. Secure and speed up your client's websites with high-performance WordPress VPS plans powered by UltraStack. Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles Getting Started with Managed VPS Hosting DNSSEC in cPanel Managed Servers for Better Security Securing Your VPS: 24 Ways to Harden Server Creating New Users in CentOS 7 Upgrade to VPS NVMe SSD Hosting How to Install Java on CentOS Check Your Server Information on a VPS or Dedicated Hosting account Getting Started With the ImunifyAV cPanel Plugin VPS Snapshots and the Best 5 Ways to Use Them VPS Hosting Technical Support Options