Short description

The EmbedObject-Macro only works with objects that are attached to a wiki page, see MacroMarket/EmbedObject or HelpOnMacros/EmbedObject.

There are a lot of services that allows to embed mostly flash-films from their server like youtube or ustream.tv.

Example Youtube

The HTML should look like this (Why is the URL from youtube not allowed in this wiki?):

<object width="425" height="350"><param name="movie" value="http://www.y*utube.com/v/SWmehf9okWM"></param><param name="wmode" value="transparent"></param><embed src="http://www.y*utube.com/v/SWmehf9okWM" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

Example ustream.tv

The HTML should look like this (for the stream):

<embed width="416" height="340" flashvars="autoplay=true" src="http://ustream.tv/T12pR0aOs2YQxMP99AvhBg.usc" type="application/x-shockwave-flash" wmode="transparent" \>

or like this (for the chat):

<embed width="563" height="266" type="application/x-shockwave-flash" flashvars="channel=#WikiTreffen" pluginspage="http://www.adobe.com/go/getflashplayer" src="http://ustream.tv/IrcClient.swf"\>


At youtube the embed-tag is within an object-tag, I don't know why.


The syntax could be like this:

[[EmbedObject(http://www.y*utube.com/v/SWmehf9okWM, type="application/x-shockwave-flash" wmode="transparent" width="425" height="350")]]

It's the same mechanism like in the ImageLink Macro, where you can show either attached images or images from another server.

Other solutions

At Wordpress seems to be a special macro so you only have to write for example [ustream T12pR0aOs2YQxMP99AvhBg.usc]. This can be realized not very elegant but very simple in MoinMoin too. And it would be very comfortable for the user.

implemeted for 1.6 changeset:2141 abc1a26ca19e


CategoryFeatureImplemented

MoinMoin: FeatureRequests/EmbedObjectFromElseWhere (last edited 2007-10-29 19:08:12 by localhost)