How to Embed a YouTube (or other) Video in a Movable Type Post

| 7 Comments | No TrackBacks |
So you found this really cool video on YouTube about "Traditional Movable Type Printing in China" and you want to embed it in an entry on your Movable Type powered blog to talk about the origin of the name of the software.  So you fire up Movable Type's text editor and paste in the embed code YouTube provided for you.  And you end up with this:
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/1UpwOtb7yh0&hl=nl_NL&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1UpwOtb7yh0&hl=nl_NL&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>

Doesn't look like a movie, does it?  And if you publish this, you will get to see this in the published entry:

htmlversion.jpg

How to fix it
Movable Type's entry editing screen has two modes: WYSIWYG mode and HTML mode.  The first mode ('What You See Is What You Get) is just that: you get what you see, in this case a bunch of codes.  The second mode allows you to directly add HTML codes to your text that will affect the way it will look in the published version.  Normally, you only need the second mode if you are some kind of internet geek who wants to do special stuff, or if you are a regular person who wants to embed some code from another site.

htmlmode.jpg

The editor has two buttons that allow you to switch between modes.  The right one is the HTML mode button, and if you click it and *then* copy paste in your YouTube embed code, things will work out nicely in the published version of your post.  Note: you can even switch between the two modes multiple times during post composition, allowing you to preview the video directly in the WYSIWYG editor:
wysiwig.jpg

And after publication it looks like this:

 

And there you have the end result: a video about Movable Type printing, published on a Movable Type blog...

No TrackBacks

TrackBack URL: https://www.movabletips.com/cgi-bin/mt/mt-tb.cgi/48

7 Comments

A rare earth magnet is positioned directly above the tumor site.

"The skin is the most common site of cancer in the dog (Four categories and the worst diagnosis is melanomas - "cells that
provide pigment in the skin. What that means to the treatment of cancers, is if the blood supply to the tumor can be
stopped, the tumor will die.

Any concepts for treatment resistant clinical depression?

How do i attract a girl if I am lesbian? So how exactly does lesbian seducing perform?

Nice article, great information on adding YouTube videos. Thanks for posting.

I love your blog.. very nice colors & theme. Did you make this website
yourself or did you hire someone to do it for you?
Plz respond as I'm looking to design my own blog and would
like to know where u got this from. thanks a lot

Terrific work! That is the type of information that
are supposed to be shared around the internet.
Disgrace on the search engines for now not positioning this submit higher!
Come on over and visit my website . Thank you =)

Thanks for your personal marvelous posting! I actually enjoyed reading it, you could be a great author.I will make sure to bookmark your blog and
will come back at some point. I want to encourage you to definitely
continue your great work, have a nice afternoon!

Leave a comment


Movable Type Help?

"Can my Movable Type issue or project be taken care of by a professional?" Yes It Can Be! Contact YesItCan.be
Powered by Movable Type 5.2.7