Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Embedded video problem

  • #6231
    Avatar photo[anonymous]

    OS: Kubuntu 20.04

    Publii version: v.0.38.3 (build 14238)

    Theme: Technews 2.3.0.0

    I seem to have a problem embedding videos. If I do a local preview they are fine but when the site is uploaded there is a blank box with “No video with supported format and MIME type found”.

    I have tried different browsers and operating systems, mpv instead of webm, making the file sizes smaller, wrapping the video tags in <figure class=”post__video”> and probably quite a few other things I can’t remember 🙂 For some reason I am stymied.

    For example on this page the first video is touristtrap.webm which is there if I put in the full URL but on the page it doesn’t show.

    The code in HTML view is,

    <video width="100%" height="auto" controls="controls"><source src="media/files/touristtrap.webm" type="video/webm" /></video>

    Any ideas on what I am doing wrong?

    #6234
    Avatar photo[anonymous]

    Maybe your remote server does not have the mime types set for webm or mkv? Try with mp4 and see too.

    #6243
    Avatar photo[anonymous]
    [anonymous] wrote:

    Maybe your remote server does not have the mime types set for webm or mkv? Try with mp4 and see too.

    Nope, no luck there but it’s a good thought as it is on lightspeed. I’ll put it on a clean Apache server and see what happens there.

    #6246
    Avatar photo[anonymous]

    Awww, it’s perfect. Such a simple solution 🙂 Thank you to you both. I will set this as closed.