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
Related
i want any code works like this you have static thumbnail as featured image, on hover it will automatically play HTML5 video which is pre-defined for each post (like youtube site)
Try this
if you want to go with WordPress plugin
1 - Easy Video Player - Free
2 - Media Hovers Wordpress Plugin - Paid
OR
If you want to go with coding -
You can add a poster by adding poster="Thumbnail-image.jpg" to the tag
.
<video poster="Thumbnail-image.jpg"
src="yourvideo.mp4"
id="id0" width="300" onMouseOver="id0.play()"
onMouseOut="id0.pause()"
onclick="window.location='yourvideo.mp4';id0.pause()"
loop title="yourvideo.mp4" >
</video>
here Thumbnail-image.jpg is your thumbnail image and yourvideo.mp4 is
video to play on hover.
If the uploader of WordPress does not support .webm, .ogg or .mp4 files
(I haven’t checked that), you can always use an ftp (like Filezilla) program to upload the video’s.
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'm trying to embed a youtube video on a WP site which uses Suarez theme, and the embedded video loads up as a picture, with no interactive elements. I tried to use both original and short links, the embed code, but none seem to work. Any insights on this topic ?
Thank you in advance.
I tried to use an iframe in the page itself and it worked. Did you try that?
i took a random video then i scrolled down to share and use the embed function. I coped all the code.
Then i went to pages in the wordpress and used my front page for this. Then i went to text in the standaard wordpress editor and pasted the code. hit save and there it was the video
NOTE:
you can make it autoplay when the page loads. and its default to allow full screen.
If you want to make it autoplay paste this behinde your iframe code like this : ?autoplay=1
this src is in you copied iframe tag!
src="https://www.youtube.com/embed/-9r7ezjl1us?autoplay=1"
Cees
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.
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