Blog tips – Embedding videos
FbL has been helping the newer bloggers among us in shortcuts and techniques. There’s a quirk even she might not know about in embedding video. It’s not as easy as it used to be since WP2.1 came out – a lot of plug-ins got orphaned by the fairly comprehensive code re-write.
It’s not impossible, though. Those wanting to put up video from Google or YouTube must navigate to the “Users” tab in the Dashboard, select “Your Profile” on that page, un-check “Use the visual editor when writing” and finally, save the changes by selecting the “Update Profile>>” button. From there, it’s relatively straightforward – there are a set of video link buttons on the “Write Post” page that require you to type in the video source code (for example, “uDAPOM–cCk” in the French Army professional excellence demonstration that Brian linked to below) and poof! You’re done.
Afterwards you can go back and re-edit your user profile to get back into the visual editor if you prefer not to work with html code. And of course, you can always just put some text in there and hyperlink to the url. Which, when you put it that way? Makes me feel like kind of a geek.
Have I thanked you all for the very generous pints of Guinness I consumed yesterday? I waited until after I’d gotten back from heaving stacks around at the gym. Really diggin’ that NCAA basketball tournement too. Really. And for the record? Chargers are going the distance this year.
There. That’s better.
The rules still apply on content. But you knew that.
Posted by lex
On March 18th, 2007 under Admin.
Comments: 9
Comments
Comment from JAS
Time: March 18, 2007, 6:22 pm
Thanks – was just wondering how to do that on my own blog. I’m stuck on figuring out how to get a favicon to show in a wordpress page… where the heck am I supposed to drop the favicon.ico in the directory structure so wordpress finds it?
Comment from lex
Time: March 18, 2007, 6:43 pm
Is it a WordPress blog? If so, somewhere in the header.php or stylesheet (style.css) you’ll probably be able to find a pre-existing file labeled favicon.ico
All you need to do is find something you’d prefer to put in there, save it as a 16×16 px visual file using either a Windows .ico editor or a .png file (in Photoshop or Photoshop elements), uploading it using your ftp app to the “Images folder” in your overall theme folder (or wherever it is that the previous favicon is stashed) and overwrite with the new file.
If your previous favicon file ended with a “.ico” suffix, and you don’t have an icon editor, then you’ll have to go back into the stylesheet and find out where the favicon.ico is called out and change the request to your favicon.png
Does that help at all?
Comment from JAS
Time: March 18, 2007, 8:53 pm
It helps – kinda – in telling me that I’m still lost!
The blog is in WordPress – but none of the files contain any reference to favicon.ico. I’ve created favicon.ico files before, for my regular website, but I’m not sure where I should put the call for the file – in the CSS? Or in the header.php file? I’ve done this with html by putting [link rel="shortcut icon" href="favicon.ico" type="image/x-icon"] inside of the head tags, but I have no idea where to put the equivalent in the WordPress files, or how it should be coded! Help me, Obi-Lex Kanobi, you’re my only hope!
Comment from lex
Time: March 18, 2007, 10:08 pm
I can’t see into your stylesheet from here, but it looks like you’ve got a bunch of html in the header.php that looks like this (tag parens removed):
link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”http://michaelandjudystouffer.com/judy/blog/feed/” /
Somewhere in there, insert another line that runs thus:
link rel=”icon” href=”< ?php bloginfo('template_directory'); ?>/images/favicon.ico” /
With the tag parens “< " and ">” at either end.
Then, go into your “Images” folder inside the wp-content/themes subdirectory and insert the favicon.ico or favicon.png file (whichever you end up using, just be consistent with the html) and you should be good to go.
More here.
Good luck!
Comment from JAS
Time: March 20, 2007, 12:39 pm
I’m still not doing this right. I know the favicon.ico graphic works fine, because I tested it out on my html website, so at least that part is correct.
I have the exact line you gave now in the header.php. Inside the wp-content/themes subdirectory I have my theme subdirectory, intense-10. That has a subdirectory called img. I altered the code line to be
link rel=â€icon†href=â€/img/favicon.ico†/
with no joy. I’ve copied the favicon.ico file into the theme subdirectory, intense-10, and then into every subdirectory under that – still no joy.
What am I messing up?
*sigh*
Here’s what I currently have in my header.php (with the “” tags removed so you can see it:
link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”" /
link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”" /
link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”" /
link rel=â€icon†href=â€/img/favicon.ico†/
link rel=”pingback” href=”" /
Comment from lex
Time: March 21, 2007, 8:33 am
JAS, you’re at the utter reaches of my html knowledge, sorry. I’m only a muddler, but it seems to me that it should work. What browser are you using? Can you see the favicon star on my main blog?
If the answer is that you can, then I’m about tapped out, athough you can try to modify the header.php to read thus:
link rel=”shortcut icon” href=”http://(yoursite)/wp-content/themes/(yourtheme)/images/favicon.ico”
With the text inside the () parens replaced by your url and theme name, obviously.
That’s the way mine reads on right-click “view source” which takes the “?php bloginfo(‘template_directory’); ” call out of play.
If that doesn’t work, you might want to see if you can leave a note at the site of whomever architected your theme.
Good luck!
Comment from lex
Time: March 21, 2007, 8:47 am
I took another look at your site, JAS, and I think that last bit of advice – to hard-code the url – might work. Unlike mine, your “view source” reveals that the .php call to your images directory didn’t work. It still shows the following code:
link rel=â€icon†href=â€< ?php bloginfo('template_directory'); ?>/images/favicon.ico†/
Comment from JAS
Time: March 21, 2007, 9:25 pm
EUREKA!! With a little bit of tweaking that did it!! The code that worked was:
link rel=”shortcut icon” href=”http://(my site)/wp-content/themes/intense-10/img/favicon.ico”
And the final trick was that I had to make sure I had ” characters in the string instead of †characters because those are different hex codes.
Thank you, thank you, thank you – if you were here, I’d give you a big ol’ hug – this has been bugging me since I put my blog up!
Comment from JAS
Time: March 21, 2007, 9:28 pm
the ” character didn’t come through in that last message – it has to be the unslanted doublequote to work – go figure – is what I was trying to say!
Write a comment