Description
Some internet websites and services offer a way for you to insert pieces of (HTML) code into your pages and display some of the contents generated by their remote service. Some examples are: Google Video, YouTube, del.icio.us etc.
Code
To embed video use:
[[embedvideo]]
paste the html for the video here (video.google or youtube)
[[/embedvideo]]
To embed audio:
[[embedaudio]]
paste the html for the audio here (odeo)
[[/embedaudio]]
Other content:
[[embed]]
paste code here
[[/embed]]
For the list of supported services please see this page.
Thanks to tsangk for this great snippet: conditional-blocks
text above inserted with:
[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]
Other snippets posted by michal-frackowiak
MyBlogLog recent visitors - 06 Jun 2021 04:03
Include Any Page - 06 Jun 2021 03:20
Babelfish Translation - 06 Jun 2021 03:14
Collapsible Text Block - 02 Dec 2020 10:24
Todo List - 18 Aug 2014 15:28
Multicolumn Layout - 17 Dec 2012 19:51
Zoho Writer - 16 Feb 2012 01:57
Zoho Sheet - 16 Feb 2012 01:56
Zoho Show - 16 Feb 2012 01:55
Zoho Polls - 16 Feb 2012 01:53
WoW Tooltips - 16 Feb 2012 01:52
Widgetbox Panel - 16 Feb 2012 01:52
Video from Revver - 16 Feb 2012 01:50
Tabs - 16 Feb 2012 01:45
Standalone Page Buttons - 16 Feb 2012 01:44
Social Bookmarking - 16 Feb 2012 01:42
Simple Gallery - 16 Feb 2012 01:41
Remember The Milk Todo - 16 Feb 2012 01:39
Recent Changes (mini) - 16 Feb 2012 01:36
Rating Summary - 16 Feb 2012 01:35
Quimble Poll - 16 Feb 2012 01:33
Quikmaps Maps - 16 Feb 2012 01:33
Photobucket Widget - 16 Feb 2012 01:29
Page Previews (Snap.com) - 16 Feb 2012 01:29
Pabpixies Gadgets - 16 Feb 2012 01:28
Meebo me - 16 Feb 2012 01:20
Layout With Tables - 16 Feb 2012 01:19
Instacalc - 16 Feb 2012 01:12
Import the Digg Feed - 16 Feb 2012 01:11
Import a News Feed - 16 Feb 2012 01:10
Google Gadgets - 16 Feb 2012 01:05
Gabbly chat - 16 Feb 2012 01:02
Forum Summary for the Front Page - 16 Feb 2012 01:02
Footnotes - 16 Feb 2012 01:01
Foldable List - 16 Feb 2012 01:01
Flickr Images By Tags - 16 Feb 2012 01:00
Feedburner - 15 Feb 2012 00:53
Extra Side Bar - 15 Feb 2012 00:51
EditGrid Spreadsheets - 15 Feb 2012 00:49
Cornify - 15 Feb 2012 00:39
Compact Feed Display - 15 Feb 2012 00:35
Center Video - 15 Feb 2012 00:28
Bibliography/Footnotes/Comments Listed in TOC - 15 Feb 2012 00:26
Automatic Sitemap - 15 Feb 2012 00:25
Alexa traffic ratings - 15 Feb 2012 00:23
3d tagcloud - 15 Feb 2012 00:22
Rate this solution
If you think this solution is useful — rate it up!
You cen embed audio from soundcloud.
You must only to delete all part <div</div.
example
this code is not working
but this code - withot <div></div> part is correct
[[/embed]]
Oops, here is the code to embed.
<object width="334" height="326"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"></param><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param> <param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/DanGilbert_2005G-medium.flv&su=http://images.ted.com/images/ted/tedindex/embed-posters/DanGilbert-2005G.embed_thumbnail.jpg&vw=320&vh=240&ap=0&ti=420&introDuration=16500&adDuration=4000&postAdDuration=2000&adKeys=talk=dan_gilbert_researches_happiness;year=2005;theme=how_the_mind_works;theme=unconventional_explanations;theme=what_makes_us_happy;event=TEDGlobal+2005;&preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="334" height="326" allowFullScreen="true" flashvars="vu=http://video.ted.com/talks/dynamic/DanGilbert_2005G-medium.flv&su=http://images.ted.com/images/ted/tedindex/embed-posters/DanGilbert-2005G.embed_thumbnail.jpg&vw=320&vh=240&ap=0&ti=420&introDuration=16500&adDuration=4000&postAdDuration=2000&adKeys=talk=dan_gilbert_researches_happiness;year=2005;theme=how_the_mind_works;theme=unconventional_explanations;theme=what_makes_us_happy;event=TEDGlobal+2005;"></embed></object>
I am trying to post this video to my wiki:
http://www.ted.com/talks/lang/eng/dan_gilbert_researches_happiness.html
I am using the following code but getting the "Sorry, no match for the embeded content." message:
I would be grateful for any advice!
I've had similar problems I've worked around by stripping everything after an ending directive such as </script> or </iframe>
For example, the following embedded code for a google map didn't work:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&hl=en&geocode=&q=eastview+high+school+apple+valley+mn&ie=UTF8&ll=44.74275,-93.21758&spn=0.00745,0.052136&output=embed&s=AARTsJpYCMhBE7eDrMKGkQOYbkBAvlh26Q"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=eastview+high+school+apple+valley+mn&ie=UTF8&ll=44.74275,-93.21758&spn=0.00745,0.052136&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
But the following did:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&hl=en&geocode=&q=eastview+high+school+apple+valley+mn&ie=UTF8&s=AARTsJpYCMhBE7eDrMKGkQOYbkBAvlh26Q&ll=44.74275,-93.21758&spn=0.042674,0.072956&z=13&output=embed">
</iframe>
Hope this helps
Thanks for discovering this. I had exactly the same problem trying to embed a google map and this fixed it perfectly.
I am trying to embed the following code:
Chaos Worlds Server Status:
<?php
// Set up server connection variables
$ip = "70.181.149.105";
$port = 7234;
// Attempt to establish a connection
$sock = @fsockopen($ip, $port, $errnum, $error, 5);
if (!$sock) {
//If it fails $real (stands for REALtime server status) is set to "OFFLINE" in red.
$real = '<B><FONT COLOR=red>OFFLINE</b></FONT>';
} else {
// If connection is a success then do this
// You may need to uncomment the following line if it doesn't seem to be working.
//stream_set_timeout($sock, 2);
// Set $real to "ONLINE" in green.
$real = '<B><FONT COLOR=lime>ONLINE</b></FONT>';
// Add the text "Players Currently Online: " to the next line down
$real .= "<br>Players Currently Online: ";
// Send "top" to the server
fwrite($sock, "top");
// Read what the server sent back and convert it to an integer variable
// and then add it to the $real variable
$real .= (int)trim(fread($sock, 2));
}
echo $real;
?>
When I try to embed standard HTML using the [[embed]] tags, I get a message that says "Sorry, no match for the embedded content." Am I misunderstanding how this works? Shouldn't I be able to embed standard HTML? I don't want to use the [[iframe]] element.
Thanks for any help…
Bill
Yes, I'm having the same problem, too!
What should we do if we want to use HTML?
Without HTML, our site just looks so boring!!! Really!
Just plain texts!
No pics, no sounds, no videos!
Can be no more boring, I believe!
Pls, Admins of wikidot, help us!!!
I havn't been able to get GrandCentral to work. Is there a special embed code for flash files?
I've got the same problem with GrandCentral :(
Has anyone gotten plugoo to work on wikidot? I can't seem to pull it off; I get the following error message:
Not tried plugoo, but I'm having trouble wth gadgets, such as googlemaps and one from SpringWidgets - a countdown. It comes up with precisely the same error message…
What needs to be done? Have successfully embedded other gadgets from google.
Cheers, remilio