space Baylys
Just practicing to pass the Turing test.
space
space
space
space
Developer for Hire!
space
addedValues Plugin
space

Home

What's new

Bayly.Root

space

Bounce suite.

commentit

fingerServer Suite.

hierMenus Plugin

ManilaFixer Plug-in

space
space

Access Control

Attached Documents

Controlpanel Interface

Hourly Hits Chart

Import Functions

manilaExtras Macros

space
space

accessTimestampString Macro

allhourlyHIts Macro

alternateTemplateLink

areaTag Macro

attachedDocuments

bodyTag Macro

breadcrumbs Macro

csActionDict Macro

editorialMenu

getnamedLink Macro

hourlyHits Macro

includenews Macro

insertBaseTag Macro

loginForm

marknonCachable Macros

memberAttribute

messageAttribute Macro

messageCohorts Macro

messageExpiryDate Macro

messageReleaseDate Macro

messageViewers

metaRefresh Macro

pathAtt Macro

pathAttToIncludeMessage Macro

pathDirectiveValue Macro

pathPictureURL Macros

pictureRef Macro

renderOutline Macro

renderScript Macro

SCNSCall Macro

shortCutToMsgNum Macro

shortCutToPictureMsgNum Macro

shortCutURL Macro

siteCrossLink Macro

siteMenu Macro

siteStructureMap Macro

spacepixels Macro

storyAuthor Macro

statsGifPage Macro

embed Macro

space

Obscure Preferences

OPMl undo

TurboCache

Versioning

space

mrdebugger

Navigator Ticker Plugin

Sendmail Suite

TranslateAid plugin

Whois Macro

Cornershop Plugin

Career

edutools Root

Enhancements

Interests

linguist Plugin

Manila

Patches

Patches by Group

Papers

Sales

Sign My Guestbook

User(land) Relations.

Contact Address

Search Baylys

urlchains

space
Join Now
Login
space space space

embed Macro

Returns an html fragment needed to ebed a number of audio-visual media document types in a page.

Parameters

  • source - url or shortcut (gem or otherwise)
  • width - required for quicktime
  • height - required for quicktime
  • type - one of the mimetypes video/quicktime, application/x-shockwave-flash, image/svg+xml or video/x-ms-asf.
  • autoplay (optional) -
  • play (optional default true) -
  • quality (optional) -
  • bgcolor (optional) -
  • target (optional) -
  • poster (optional) - url or shortcut (gem or otherwise)
  • linktext (optional) - a string

Example

{manilaextras.embed(source:"myMovie", width:120, height:120, type:"quicktime", play:false)}

Semantics

  1. For the type parameter, the abbreviations quicktime, flash and svg are mapped into values video/quicktime, application/x-shockwave-flash, and image/svg+xml respectively.
  2. Type video/quicktime generates an object and an embed tag, and requires values for width, height, autoplay, controller, poster and source. If specified the embed tag will contain the value of target.
  3. Type application/x-shockwave-flash generates an object and an embed tag, and requires values for width, height and source. If specified quality and bgcolor are also used. If specified the embed tag will contain the value of target.
  4. Type image/svg+xml generates an object and an embed tag, and requires values for width, height and source. If specified the embed tag will contain the value of target.
  5. Type video/x-ms-asf generates an object and an embed tag and a link to play the document an in axternal application; and requires values for width, height, autoplay, controller and source. the link uses linktext.