Embedded YouTube Videos - no video with supported format or MIME type found?

Embedded YouTube Videos - no video with supported format or MIME type found?

by Andrew Graf -
Number of replies: 4

Okay so I am having this issue where training videos that I upload to a youtube channel, when embedded in a Moodle lesson content page, get this dialogue box that says "no video with supported format or MIME type found". You cannot interact with it. But it doesn't do this to all of them. These videos have the same settings, etc. This happens when using Mozilla FireFox. If I open the same page in Chrome, instead of the dialogue box having that message, its just an empty video player box. If you click on that box, it will open a new tab to the youtube video. 

Yet I have other videos from the same youtube channel, same settings, and they embed and play perfectly fine inside the content page. I do not understand why this happens or how I am supposed to address it. 

Screenshots attached



image

image

Average of ratings: -
In reply to Andrew Graf

Embedded YouTube Videos - no video with supported format or MIME type found?

by Eduardo Kraus -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hello, Andrew! 😊

If everything seems fine on YouTube, it's time to enhance Moodle with a powerful and reliable solution: the Super Video, a plugin I developed specifically to simplify video integration in Moodle. It addresses issues like the one you're experiencing. It provides robust support for various video sources, including YouTube, ensuring a more consistent playback experience across browsers like Firefox and Chrome. It's super easy to configure and could be the ultimate solution for videos that fail to load as expected.

Eduardo Kraus
Teacher and programmer

In reply to Eduardo Kraus

Re: Embedded YouTube Videos - no video with supported format or MIME type found?

by Andrew Graf -
I am using moodlecloud. Are mods even possible? I am still new to this platform.
In reply to Andrew Graf

Re: Embedded YouTube Videos - no video with supported format or MIME type found?

by Justin Hunt -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
It depends on how you are embedding the YouTube video. Moodle's multi media plugins filter will look for video links and try to show them in a player. Or if it sees a video element on the page will try to turn it into a VideoJS player.
If it sees an iframe it will probably do nothing, but it might strip it out. I suspect the Youtube URL looks enough like a youtube url for Moodle to try to process it. But the link is faulty. Thats just my guess.

I think the best way to do it is place a link to the youtube video url on the page. And be sure the link if pasted into a browser also works. Like this:
image.png
Then it will be processed by Moodle and turned into a nice YouTube player .. that looks like this ..
 
Average of ratings: Useful (1)
In reply to Justin Hunt

Re: Embedded YouTube Videos - no video with supported format or MIME type found?

by Andrew Graf -
Thank you so much! I did not realize doing it as a weblink in the page would actually result in a video player being displayed. This has completely solved the problem.
Average of ratings: Useful (1)