Skip to main content

Configuring Video Embedding

You can control how videos are embedded in your community by configuring settings for both Flash video and popular video sites like Vimeo, Veoh, Dailymotion, Google, and YouTube.

Allowing Flash Video Embedding

You can allow Flash videos (as SWF files) to be embedded by editing settings for the HTML post-processing filter. Keep in mind that allowing content from another domain could create a security vulnerability due to the risks associated with Flash videos, such as cross-site scripting attacks. Only add domains that you trust.

To enable Flash embedding, configure the HTML filter in the admin console:

Fastpath

Admin Console: Spaces > Settings > Filters and Macros

  1. In the admin console, on the Filters and Macros page, scroll down to the Post Processing Filters section.
  2. Locate the HTML filter, then click Settings to display the filter's settings page.
  3. In the allowedDomains box, add your domain. Do not include any sub-domains; for instance, if your video is hosted at http://flash.example.com/, enter only example.com. Your box might look like:
    youtube.com, dailymotion.com, veoh.com, vimeo.com, google.com, example.com.
  4. Click Save Properties.

Embedding Flash Video

To embed Flash SWF files, add the HTML markup directly into your content.

  1. While editing content, click the special formatting button (it looks like >>), then click Insert Raw HTML.

  2. Into the content box this command adds, paste the HTML markup for embedding the SWF file. Ensure you include your src URL as well as the width and height of your video.

    Example:

    <embed src="http://flash.example.com/myflashvideo.swf"
    quality="high" width="300" height="500" allowScriptAccess="always"
    wmode="transparent" type="application/x-shockwave-flash" flashvars=""
    pluginspage="http://www.macromedia.com/go/getflashplayer">
    </embed>

Allowing or Preventing Embedding from Video Sites

Users can link to or embed videos from multiple video sites. You can restrict these sites by disabling the corresponding macro or adjusting the macro settings for how videos are displayed.

Fastpath

Admin Console: Spaces > Settings > Filters and Macros

  1. In the admin console, on the Filters and Macros page, scroll down to the Macros section.
  2. Locate the video macros, then click On next to the video sites you want users to be able to link to from content.
  3. To edit the macros for the video sites, click Settings next to each video site macro (e.g., VimeoMacro).
  4. Adjust the macro settings for how the video displays when content is posted.
  5. Click Save Properties.