How to embed and customize Youtube video URL on WordPress Page and Post (WP Version 3.5)
(Note : By doing this, I expected you have an internet connection and your own webhost or webserver on your localhost)
Embedding Youtube Videos on WordPress Page and Post (prior to version 3.5) is an easy task, follow the steps/procedure below:
1. Login to your WordPress Administrator Account, to your Dashboard, go to Page/Post editor then click Add New.
2. From the Visual/Text line, just paste the youtube url/shortcode and be sure it is not hyperlinked.
(*NOTE: How to make sure if your youtube video url is hyperlinked or not)
Highlight the youtube video url from the post/page editor you will see the unlink button, click it then it will remove the hyperlinked youtube video url.
*Make sure no embedded font size, whitespace, hyperlink… just a normal text line.
3. You can see the results by pressing the Preview on the Page/Post editor. (This is the default embedded youtube video url)
FOR CUSTOMIZATION OF YOUTUBE VIDEO ON WordPress Version 3.5:
You can customize the width and height of a youtube video on WordPress, by adding a line on the URL/Youtube code.
&w= (specify the value of the youtube video width)
&h= (specify the value of the youtube video height)
For example:
http://www.youtube.com/watch?v=gdWRTzkyc_E
(your youtube video url/code)
http://www.youtube.com/watch?v=gdWRTzkyc_E&w=640&h=385
(customize width/height)
And also if you don’t want to have related videos, add &rel=0
http://www.youtube.com/watch?v=gdWRTzkyc_E&rel=0
HOW SURE THAT YOU DON’T NEED TO PUT EMBEDDED WRAP CODE?
Starting at WordPress 2.9 up to 3.5 stated at WordPress.org Official Site. WordPress will automatically turn that into a YouTube embed when the post is viewed. As of 3.5, Auto-embeds are automatically enabled and there is no setting to turn them off in the WordPress admin pages. Prior to 3.5, there was an “Auto-embeds” checkbox in Administration > Settings > Media SubPanel. – codex.wordpress.org/embeds
(For more questions and to more about embedded videos url/shortcodes on WordPress, click here)
That’s it. Hopefully this helps you out 🙂
Related Links / Articles / Entries / References / Sources:
How To Install WordPress Locally Using WAMP by Jcyberinux
WordPress.org – Official Site
WordPress.com – Shortcodes – Official Site
WordPress.org – Embeds – Official Site
