-
AuthorPosts
-
February 9, 2018 at 7:39 am #910144
Hello Team,
I am using the video media element. How do I display a preview image? How do I change the size and color of the play icon? I edited the video to add a thumbnail, didn’t help. I tried using a text box and adding a video, but the play icon does not display properly, it’s aligned to the top. Thank you for all your help.
Currently, it displays like this:
- This topic was modified 6 years, 10 months ago by dmac.
February 9, 2018 at 9:04 am #910153on media libary the selfhosted videos clicked – open in that media preview window. the videos there seems to start playing a bit and stopp immediately. so there is a kind of screenshot of the first scenes to see.
That would be nice to have on frontend too.February 12, 2018 at 1:45 am #910861Hi,
Thank you for using Enfold.
Unfortunately, you can’t set a poster or preview image to the video element yet but it’s possible with the video shortcode. Just add the “poster” attribute.
// https://codex.wordpress.org/Video_Shortcode
You can also use the Image element, set the video url as the link and it will open inside a lightbox once the image is clicked.
Best regards,
IsmaelFebruary 13, 2018 at 7:06 pm #911852This reply has been marked as private.February 13, 2018 at 11:54 pm #911983this is a nice tip – i put this into a text-block:
[video src="/wp-content/uploads/meeting1035.mp4" loop="on" preload="auto" poster="/wp-content/uploads/screenshot-1.jpg"]
and see here : https://webers-testseite.de/video/
left shortcode from ismaels link above – second with image alb element (for lightbox open)
February 14, 2018 at 3:30 am #912060February 14, 2018 at 3:58 am #912076Hey Ismael, in reply, 911852, I did the code snippet. The play button color needs to be changed. Also, how do I add coding to make the play button centered on the video? It aligned with the top.
February 14, 2018 at 4:04 am #912081Would it be better to host the videos on Vimeo? Wouldn’t that increase my compatibility as well?
February 14, 2018 at 6:25 am #912117Hi dmac,
I would try to host your video with Youtube or Vimeo, it will likely help with loading the video faster at least.
Best regards,
RikardFebruary 14, 2018 at 9:26 am #912154And your own Server has less traffic ( Performance )
February 17, 2018 at 4:00 am #913464Please close this out, I went with Vimeo and it solved my issues. Thank you everyone for your help and advice.
February 17, 2018 at 7:55 am #913555 -
AuthorPosts
- The topic ‘Video self-hosted preview’ is closed to new replies.