SOSIUS's workspace
::SOSIUS » Sosius Support Center » Features » Misc » Embedding Media in HTML » Full Spec and Examples

Full Spec and Examples

These custom tags are transformed into raw html using and tags which are normally used to display multimedia content. As there are associated security issues with the use of such tags, Sosius strips these and some other tags automatically from your HTML.

Hence, Sosius provides two custom tags that allows you to embed your multimedia content:

Video

The following tag transforms to use the x-shockwave-flash object to display videos (in Flash Video Format [FLV]), e.g. YouTube, Vimeo etc.

src: required. The absolute url to the video file.
width: required. The width of the video file.
height: required. The height of the video file.
allowfullscreen: optional, default true. Whether full screen mode can be used.

Example:

You have uploaded a video to Vimeo. View the video in Vimeo and click on the embed button over the video, look through the source and find

On YouTube, you will also find the required URL in the embed code from the top right hand corner of the video page:

Substitute the url into the html code below:

This is transformed when a client views the page as the following HTML:





 

Audio

The following tag transforms to use a flash media player provided by Yahoo!

playlist: required. The absolute url to the mp3 or mpu file.
width: optional, default 300. The width of the player.
height: optional, default 40. The height of the player.

Example:

This is tranformed when a client views the page as the following HTML:

 

Sections