play video on thumbnail hover in wordpress - wordpress

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.

Related

how to make a video playlist with embed from other website video uploads. Ex aparat.com

I have a website for learning.
I want to add a video playlist from my country video site named aparat.com
you can learn how to make a video playlist with embed code from aparat?
my website uses WordPress.
I see another site a playlist from aparat embed. but I don't know how to make
Any aparat film have a special link that not change.
https://www.aparat.com/video/video/embed/videohash/{{hash}}/vt/frame
{{hash}} is latest section of your video page in aparat.com
for example
https://www.aparat.com/v/6EBX3
6EBX3
So your video link will be:
https://www.aparat.com/video/video/embed/videohash/6EBX3/vt/frame
It's your special video link
Now you must create a slider (with any plugin that supports video links) and add your video links.

elementor doesnt loop self-hosted video file

I want use full screen background video.
I uploaded to wordpress media and copied link and used link on section background video. There is not selection option is it youtube or vimeo or self-hosted video. It says "YouTube/Vimeo link, or link to video file (mp4 is recommended)." so I assume it should work with my video. But my video plays only once.
I can't use youtube link because it shows youtube icon and text.

No Thumbnails in posting Kaltura's Videos

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?

WordPress - featured image as video and audio

How to set that featured image in WordPress can also be video or audio file.
Best solution if that can be done trough functions.php. Please if it is possible with no plugins.

WordPress - cannot use YouTube videos as attached media

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

Resources