I have insert a YouTube video link in my WordPress post. It properly showing the video on the front end. Now i want to get the embed code of video on my another WordPress page.
Please help.
To quickly embed a YouTube video, simply copy the video’s URL from your web browser’s address bar while viewing the video:
And paste it on a line by itself in your post/page editor:
WordPress will take care of the rest!
Embedding with a Shortcode:
To customize the video’s size and settings, use a shortcode.
For example, this shortcode:
[youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A&w=640&h=385]
produces the video, which is wider than the default embed
Related
I understand how to embed a video into a Wordpress post. Easy stuff.
Then, on the Blog home page, I see the title of the blog post and a snippet of text (50 chr or so). Of course, many snippets are present.
Question: How can I display the actual video inside the snippet? So that a visitor to my blog home page (www.mysite.com/blog) sees the last 10 blog entries with a video window in each snippet?
That way, a visitor can watch the video directly on the /blog page and not have to drill down each time to watch the video.
Thanks
Your theme is most likely using the the_excerpt function to show the post previews on your home page, which automatically strips out HTML tags like video embeds.
You can override this behavior and allow HTML to be parsed in your post excerpts using custom template code as described in the answer here or with a plugin like Advanced Excerpt.
I am using the Kaltura's All i One Video Plugin in WordPress. Whenver, I post a video using Kaltura, whether it is embeded or through the Plug-in Content, The Post doesn't fetch it's thumbnail. If i use youtube or any other video link the thumbnail load corrctly.
Is the thumb generate properly on Kaltura? Can you see it in the kmc?
I tried using 2 different plugins for this purpose(ombed, this old plugin)
The problem is, that on the post page, the URL to YouTube is displayed, but inside an IMG tag, instead of an embed \ iframe .
E.G:
<img src="https://www.youtube.com/watch?v=1SO_tuALYgQ&feature=youtu.be" alt="" class="cover">
Any help is much appreciated.
To quickly embed a YouTube video, simply copy the video’s URL
from your web browser’s address bar while viewing the video.
Paste it on a line by itself in your post/page editor
WordPress will take care of the rest!
See detailed description here
I am developing a theme for WordPress 3.6 and as far as I know embedded links, like if just place a link into the post for YouTube it should auto embed its self. that's not the case here - would any one know what would cause links from services like YouTube to not embed?
[embed][/embed] doesn't work either...
Make sure the YouTube link is not hyperlinked. If the URL is shown in
your theme’s link color (as the second line in the screenshot below),
then it is hyperlinked. Simply select the whole URL and click the
“Unlink” icon on your Visual Editor toolbar.
Once the URL is unlinked, you will see the link text in black. Make
sure to place the YouTube URL or shortcode on its own line. This
means there should be no character or whitespace before or after the
URL/shortcode.
http://en.support.wordpress.com/shortcodes/
However, beyond those issues you might want to look into. the API that WP uses to embed links from YouTube, Twitter, Flicker...
http://oembed.com/
oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.
Unlink the link if it's linked and use the shortcode :
[youtube=http://www.youtube.com/XXXX] and that will work.
Wordpress is now replacing the youtube links that people post into comments of a post with the actual video. It is rather anoying and I would like to know if it is possible to leave the link as is and not add the embed code to view the video directly from the comment container?
Have you tried entering that code in the TEXT tab rather than the VISUAL tab of the editor?