initialbest
Member
Posted 3 years ago #
hi
I can insert the code (from youtube)
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/y_FjWNKulNc"></param><embed src="http://www.youtube.com/v/y_FjWNKulNc" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
into the editor but once saved or published, the video cannot be displayed and it makes my site in chaos.
What shoould I do? Thanks.
podcastnyc
Member
Posted 3 years ago #
1. Don't use the rich text editor when dealing with embeds.
2. Try pasting just the following code into the post:
<embed src="http://www.youtube.com/v/y_FjWNKulNc" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
From the youtube website (just under where you got the code from):
(Put this video on your website. Works on Friendster, eBay, Blogger, MySpace!)
I'm afraid the code is not going to work with your WordPress blog.
I stand corrected, thanks for the heads up kichu :)
Was it just a matter of copying and pasting, or did you have to do anything special?
Thanks, tauquil.
Nothing special. Just the good ol' c&p!
Regards,
S.K
Try it after turning the WYSIWYG off (under your profile page).
AppleG5
Member
Posted 3 years ago #
If you have TinyMCE (WYSIWYG) running, press HTML there on the small toolbar. Just paste the code in and save the page.
initialbest
Member
Posted 3 years ago #
I got to do it by reverting back to the old trusty text editor.
If you update the code in the html pop-up, it does not correct the problem.
Thks all.
remcobron
Member
Posted 3 years ago #
Just to make it foolproof:
To insert YouTube videos in your Wordpress blog do the following:
1. Login to WordPress admin
2. Go to Options >> Writing
3. Uncheck borht Users should use the visual rich editor by default & WordPress should correct invalidly nested XHTML automatically
4. Go to Write >> Write Post
5. Paste the 'embeddable player' code for your YouTube video in the write box
6. Publish video
That's all there is to it!
In my opinion this should also work in the HTML pop-up window in the rich-text editor...but for some reason it doesn't. Perhaps someone with a little more PHP coding experience can answer or correct this...
In my case step #2 above was a bit different. Following step #2 only turns off the rich text editor for 'users' but if you're the admin trying to paste the YouTube code you must turn off rich text editing under:
users>your profile
gneneres
Member
Posted 3 years ago #
thanks remcobron! your method worked for me.
heimtommy
Member
Posted 3 years ago #
Hi There!
I'm using the GENERAL blog of WP. So my site's address is ***.wordpress.com. I do not have my own: ***.com address, or whatsoever.
Therefore I dont think I could use any kinda Plug-ins. And my problem is that I do want to have embedded you tube videos in my blog.
Using you tube's "Embeddable Player" code and pasting it into my genearl write place/into my HTML writer it just DOES NOT WORK.
I've tried remcobron's idea as well...no work:(
If you can, pls help me!
Thx
heimtommy - this forum is for people who ARE hosting wordpress themselves... you might want to check the forum on wordpress.com for help there...
Thanks remcobron. Is there any other way to do this. Seems like a hassle to switch back and forth just to post a vid. But I am glad that I got it working now.
devilsoulblack
Member
Posted 3 years ago #
FestersYourDaddy
Member
Posted 3 years ago #
Done all this, and everything else on this site...NOTHING IS WORKING..!!
technocrat
Member
Posted 3 years ago #
Hey all,
I drove myself crazy today because I wanted to easily embed YouTube while keeping the WYSIWYG editor turned on. I figured out how and did a write-up. Thought I'd track down fellow frustrated wordpressers and let you know that it's been done, and fairly easily:
http://geeklimit.com/2006/04/26/embed-youtube-with-the-wordpress-20-wysiwyg-editor/1/
wilderside
Member
Posted 3 years ago #
Since I am hosted on Wordpress I can't use the suggested plug-ins. I tried the advice from remcobron, I must amend it to say that to turn off the rich text editor I had to go into Users. But still when I did all that the code disappears when I try to publish.
pigduck
Member
Posted 3 years ago #
I don't understand. If I post the code by podcastnyc it embeds but when i post my own youtube code it doesn't work... why?
pigduck
Member
Posted 3 years ago #
I found out the reason. When you use the embed code ...make sure the links are not highlighted a links.
Turning off the rich editor in users did it for me
fcanzoniere
Member
Posted 3 years ago #
Hey, I had the same problem and following the abovementioned Icamp's suggestion it worked fine: "...Following step #2 only turns off the rich text editor for 'users' but if you're the admin trying to paste the YouTube code you must turn off rich text editing under: users>your profile ".
Once it is published you can turn this option on again. You can see how I did it in www.hotelblog.es
Thank you guys for your help!
johnpiercy
Member
Posted 2 years ago #
In my case step #2 above was a bit different. Following step #2 only turns off the rich text editor for 'users' but if you're the admin trying to paste the YouTube code you must turn off rich text editing under:
users>your profile
thanks ICAMP ..... that worked for me
JP
shaarique
Member
Posted 2 years ago #
http://www.viper007bond.com/wordpress-plugins/vipers-video-quicktags/
This plugin is really cool. I was desperately searching for support for addding youtube videos and then i found this plugin.
I'm sure ages ago I found out you could do something like [youtube=http://blablabla] but maybe I dreamt it... as I cant find it again now!
mahalingam
Member
Posted 2 years ago #
youtube video thumbnails are not loaded in wordpress.
full youtube pages are loaded in thumnail page
any one help me
advance thanks
invertebra
Member
Posted 2 years ago #
perfect! great tips, thank you all for sharing.