Embed media

In the content editor, you can embed media and make references to social media, such as Twitter, YouTube, Vimeo, Facebook, or any other iframe provider. You can either paste a YouTube URL, or embed snippets in the content for the rest of the social media.

PREREQUISITES: You need to explicitly add the media provider as a trusted content provider the Web security module. For more information, see Content-Security-Policy.

NOTE: Embedded Twitter code is stripped by the editor for security reasons because Twitter does not use iframe but blockquote with additional JavaScript script tag. To embed Twitter code, you need to place the proper Twitter script on specific pages or page templates where you want the Twitter quote to appear. For more information, see the official Twitter documentation on JavaScript API.

The following table summarizes how you can embed different types of social media in your content.

Social media Embed  Paste URL 
Twitter  No  Yes 
YouTube  Yes  Yes 
Vimeo  Yes No
SoundCloud Yes No
Facebook video, image, or gallery Yes No

To embed social media:

  1. In the contextual toolbar, click Embed media icon.
  2. Paste an URL or embed code from social media.
  3. Optionally, modify the proportions of the embedded media.

Once you upload media, by clicking on it, you can:

  • Align on the page, for example, in the center.
  • Edit the media by changing the media file or modifying its proportions.

To delete embedded media, in the text editor, click on the media and press the DELETE key on your keyboard.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?