KB Version:

Page Navigation

Related Links

Learning Levels

Most Read

Announcements RSS Feed of Announcements

Flash and Rich Media Embedding

Digest

Embedding Adobe Flash® or other rich media that use the <embed> or <object> tags can be accomplished in Cascade server in two ways:

  1. The correct <embed> or <object> tags can be copied and pasted into the WYSIWYG's HTML Source View. Often the embed code can be directly copied and pasted from a site like YouTube or Vimeo.
  2. A Data Definition can be created that allows a business user to enter a "video ID" for a particular media site or server or choose a Flash (SWF) File Asset stored in Cascade Server. Cascade Server then uses a Format to automatically generate the appropriate <embed> or <object> tags.

Concept

Copying Embed Code into the WYSIWYG

  1. Copy or create the appropriate HTML code to embed the Flash movie. For this example, we'll use a video from YouTube.
    YouTube Embed Box
  2. Edit any Page in Cascade Server that contains a WYSIWYG editor. Your Group settings and the WYSIWYG's settings must allow you to see the Edit HTML Source button. If you can't see the HTML Button Image from WYSIWYG button, contact your Cascade Server administrator.

    Cascade WYSIWYG HTML Source Toolbar Button
  3. Paste the HTML code into the HTML Source Editor window. In many cases, the page layout will look best if the <embed> or <object> tag is pasted inside of an existing <p> (paragraph) tag. Click Update when you are satisfied with the HTML code.
      Cascade WYSIWYG HTML Source Editor
  4. In Cascade Server 6.0 and later, the WYSIWYG editor will show a placeholder graphic where your embedded movie will be.
    Cascade WYSIWYG with Flash placeholder

Technical

Creating an Embed Data Definition

Flash and other rich media plugins can also be embedded in a page by using a combination of a Structured Data Definition and Format. This method can be more tightly controlled than simply pasting HTML code into the WYSIWYG editor. It allows the developer to prescribe how the flash movie should look or even where the content should be loaded from. The example Data Definition and Format below give the user fields for selecting a location to load the movie from, specify the video ID, and control the size and quality of the movie.

Screenshot of User Interface

Screenshot of Flash Embed Data Definition UI

Data Definition

XSLT Format

Related Links