My video won't load and is hosted on github. Does github not allow videos?
I have tried many src="Links"
<video width="320" height="240" controls>
<source src="../../Websiteland/Twitter/FLT.mp4" type="video/mpeg">
Your browser does not support this awesome video title.
</video>
Website for video
Just a couple months ago GitHub announced video uploads support, which allows you to just drag&drop an . mp4 or . mov onto an issue, pull request or discussion and have it uploaded and hosted by GitHub for free 😍.
GitHub Pages is a static site hosting service that takes HTML, CSS, and JavaScript files straight from a repository on GitHub, optionally runs the files through a build process, and publishes a website.
Today, we're announcing that the ability to upload video is generally available for everyone across GitHub. Now you can upload . mp4 and . mov files in issues, pull requests, discussions, and more.
Under "GitHub Pages", select the GitHub Pages visibility drop-down menu, then click a visibility. To see your published site, under "GitHub Pages", click your site's URL. Note: It can take up to 10 minutes for changes to your site to publish after you push the changes to GitHub Enterprise Cloud.
video/mpeg
is a valid MIME type in the form, but it is the one of MPEG-1 videos. So browsers will try to use their video/mpeg
decoder, won't find any or will just fail to use it on your mp4 video and finally abort.
You wanted video/mp4
:
<video width="320" height="240" controls>
<source type="video/mp4" src="https://robocop79.github.io/Websiteland//Twitter/FLT.mp4">
</video>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With