-
Notifications
You must be signed in to change notification settings - Fork 1k
What to do if your video does not play
Daniel Neto edited this page Feb 8, 2023
·
6 revisions
When you have playback problems, you may see a message like this The media playback was aborted or The media could not be loaded
- Browser issues
- Poor Internet connection
- Cached data in the system
- Uploaded file missing or corrupted
the first step is to check the value of the src attribute of your
<div id="main-video" class="embed-responsive embed-responsive-16by9">
<video playsinline webkit-playsinline="webkit-playsinline" preload="auto" poster="..." class="embed-responsive-item video-js vjs-default-skin vjs-big-play-centered vjs-16-9" id="mainVideo">
<source src="https://mydomain.com/videos/video_221105001605_v2e82/res720/index.m3u8?token=..." type="application/x-mpegURL" label="720p HD" res="720">
<source src="https://mydomain.com/videos/video_221105001605_v2e82/res480/index.m3u8?token=..." type="application/x-mpegURL" label="480p" res="480">
<source src="https://mydomain.com/videos/video_221105001605_v2e82/index.m3u8?token=..." type="application/x-mpegURL" label="AUTO" res="auto">
</video>
</div>
This means your video does not exist in your videos directory, double check directly in your server drive if that is the case
- If your video is the embed type, you have to check with the place where you embed the video, we cannot guarantee your embedded video will work.
- If your video is not embedded, most likely your video has not been copied/transferred correctly, so you have to check the time between the encoder and when the encoder finished and tried to copy it to the streamer.
- Check if the video is HTTP or HTTPS, if your site is HTTPS, your video must also be HTTPS, otherwise, the video will not work
- If you didn't use the encoder it's possible that your video doesn't have a codec compatible with your browser, the use of the encoder is highly recommended.
- Copy the URL of the video and paste it directly into your browser, and try to play directly to detect more errors.
- Check the network tab of your JS console
Use this guide to help you find errors https://github.com/WWBN/AVideo/wiki/How-to-find-errors-on-AVideo-Platform
Open an issue and provide all the information and screenshots of the above tests.
The Open Source Video Platform Solution
| Service | Description | Link |
|---|---|---|
| 🎯 | Professional Support - Direct assistance from core developers | Contact |
| ☁️ | AVideo CDN - High-performance video delivery network | Pricing |
AVideo Platform © 2024 - Self-hosted video streaming platform
Made with ❤️ by WWBN and the open source community