Embed Code From Other Services

By michal-frackowiak michal-frackowiak

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!

rating: +24
roca-pl roca-pl 01 May 2020 13:03

You cen embed audio from soundcloud.
You must only to delete all part <div</div.
example
this code is not working

[[embed]]
<iframe width="100%" height="300" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/284602096&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe><div style="font-size: 10px; color: #cccccc;line-break: anywhere;word-break: normal;overflow: hidden;white-space: nowrap;text-overflow: ellipsis; font-family: Interstate,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Garuda,Verdana,Tahoma,sans-serif;font-weight: 100;"><a href="https://soundcloud.com/ro-ca-86429767" title="Ro Ca" target="_blank" style="color: #cccccc; text-decoration: none;">Ro Ca</a> · <a href="https://soundcloud.com/ro-ca-86429767/barka" title="Barka" target="_blank" style="color: #cccccc; text-decoration: none;">Barka</a></div>
[[/embed]]

but this code - withot <div></div> part is correct
[[embed]]
<iframe width="100%" height="300" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/284602096&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe>
[[/embed]]

[フレーム]
[[/embed]]
by roca-pl roca-pl , 01 May 2020 13:03
trouble posting a video
wentworth wentworth 18 Jan 2010 21:10

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>

by wentworth wentworth , 18 Jan 2010 21:10
trouble posting a video
wentworth wentworth 18 Jan 2010 21:09

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!

Sorry, no match for the embedded content.
by wentworth wentworth , 18 Jan 2010 21:09
Embedding problems
Josh_s Dad Josh_s Dad 26 Apr 2008 16:32

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&amp;hl=en&amp;geocode=&amp;q=eastview+high+school+apple+valley+mn&amp;ie=UTF8&amp;ll=44.74275,-93.21758&amp;spn=0.00745,0.052136&amp;output=embed&amp;s=AARTsJpYCMhBE7eDrMKGkQOYbkBAvlh26Q"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=eastview+high+school+apple+valley+mn&amp;ie=UTF8&amp;ll=44.74275,-93.21758&amp;spn=0.00745,0.052136&amp;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&amp;hl=en&amp;geocode=&amp;q=eastview+high+school+apple+valley+mn&amp;ie=UTF8&amp;s=AARTsJpYCMhBE7eDrMKGkQOYbkBAvlh26Q&amp;ll=44.74275,-93.21758&amp;spn=0.042674,0.072956&amp;z=13&amp;output=embed">
</iframe>

Hope this helps

Last edited on 26 Apr 2008 16:35 by Josh_s Dad
by Josh_s Dad Josh_s Dad , 26 Apr 2008 16:32
Re: Embedding problems
Coral Coral 12 Oct 2008 08:07

Thanks for discovering this. I had exactly the same problem trying to embed a google map and this fixed it perfectly.

by Coral Coral , 12 Oct 2008 08:07
Embedding PHP?
(account deleted) 16 Jan 2008 23:02

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;
?>

by (account deleted), 16 Jan 2008 23:02
How do I embed standard HTML?
Bill Kules Bill Kules 08 Jan 2008 22:24

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

by Bill Kules Bill Kules , 08 Jan 2008 22:24
Re: How do I embed standard HTML?
webpromotion webpromotion 12 Jun 2008 02:36

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!!!

by webpromotion webpromotion , 12 Jun 2008 02:36
Grand Central
christmas4kids christmas4kids 31 Dec 2007 17:18

I havn't been able to get GrandCentral to work. Is there a special embed code for flash files?

by christmas4kids christmas4kids , 31 Dec 2007 17:18
Re: Grand Central
promod promod 25 Feb 2008 04:35

I've got the same problem with GrandCentral :(

by promod promod , 25 Feb 2008 04:35
Plugoo
pgavin pgavin 08 Oct 2007 13:38

Has anyone gotten plugoo to work on wikidot? I can't seem to pull it off; I get the following error message:

Sorry, no match for the embedded content.

by pgavin pgavin , 08 Oct 2007 13:38
Re: Plugoo
remilio remilio 20 Oct 2007 16:38

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

by remilio remilio , 20 Oct 2007 16:38
page revision: 3, last edited: 15 Feb 2012 00:50
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).

AltStyle によって変換されたページ (->オリジナル) /