Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to YouTube embedding

Re: YouTube embedding

EDIT: The < IFRAME > tag below will insert a whole page of an external site, not what the question above wanted and it won't work in the wiki section. This will work in the static html pages. Its great if you want to display a external site or web tool on your site, but yet keep them on yours. I'll have to read the questions more carefully before I reply 😀 .


You can use the html < IFRAME > tag.

< IFRAME SRC="http://youtube.com/browse?s=mp" TITLE="YouTube Video Listing" WIDTH=600 HEIGHT=800 >
< !-- Alternate content for non-supporting browsers — >
< H2 >Your Browser Don't Support Frames< /H2 >
Please use the direct link to < A href="http://youtube.com/browse?s=mp" target="_blank">the YouTube video listing.< /A >
< /IFRAME >

(Note the tags above are broken with spaces to display the code!)

This way it displays the content in a frame, you'll need to adjust the frame size if you dont want scroll bars (WIDTH=600 HEIGHT=800), it will display a link to the content if viewed with a browser that don't support frames. This isn't a problem with most new browsers.

> I would like to embed some YouTube videos into my wiki pages.
>
> I have set the page to "Allow HTML", and included the "embed code" from YouTube (I have tried to include the that code for display here, but even when I surround it with ~np~, half the code disappears after previewing or posting).
>
> Any thoughts as to how to embed YouTube video?