Help:Embedding

From Marks Wiki
Jump to navigation Jump to search

It is now possible to embed interactive media to the wiki!

Here's a short guide on adding Flash and Java objects to your wiki page:

Flash

Syntax:

<html>
<embed src="" height="" width=""/>
</html>

Within the quotation marks of the src attribute - insert a link to an uploaded flash (.swf) file.
Note that examples are hosted externally and will not load on intranet without running netlogin!

Example:
<html> <embed src="http://grafikdezign.free.fr/joeyeditor/test.swf" height="275" width="300"/> </html>

Java Applets

Syntax:

<html>
<iframe src="" length="" width="" frameborder="0">
</iframe>
</html>

For the iframes src attribute - insert an html file with the applet embedded into it.

Example:
<html> <iframe src="http://grafikdezign.free.fr/joeyeditor/test.html" height="320" width="320" scrolling="no" frameborder="0"></iframe> </html>

As you can see, the applets don't look very attractive within an iframe. (Firefox >> IE)
If you find a nicer way of embedding java applets please edit this page :)

Edit: Removed the frame border, applet now looks alright.

Example : IPL Scorecard

<HTML> <EMBED> <script type="text/javascript" src="http://widgetserver.com/syndication/subscriber/InsertWidget.js?appId=2cb1c6a9-2a49-49fc-89ea-77a73c33e11b"></script><noscript>Get the <a href="http://www.widgetbox.com/widget/live-cricket-score">Live Cricket score</a> widget and many other <a href="http://www.widgetbox.com/galleryhome/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>!</noscript> </EMBED> </HTML>