Intel's Ronler Acres Plant

Silicon Forest
If the type is too small, Ctrl+ is your friend

Thursday, May 20, 2021

YouTube Embed Code

After much mucking about with embedding YouTube videos, I finally decided that the way to do it was to make a template and just copy-paste it into Blogger. Maybe this will be useful for someone. Here it is:

YouTube Embed Code

I started with the embed code YouTube provides, then changed the dimensions, added the center tag and the carriage returns (the br tags) at the end and changed the video ID to XxxxxxxxxxX. Do this in a text editor and save the file under a name like, oh, I dunno, YouTubeEmbedCode.htm

Change Blogger to html mode, paste this block in, get the ID from the url of the YouTube browser tab (just double click on the ID to highlight the whole thing and then type Ctrl-C), and paste it over the X's. Add the title, and whatever else you want and you're done. You can go back to compose mode and write your text.

I don't know if it's any simpler, but it sure feels like it.


No comments: