Skip to content

The media playback was aborted or The media could not be loaded

Daniel Neto edited this page May 7, 2020 · 2 revisions

We will guide here on how to resolve errors for VOD videos.

  1. Browser issues
  2. Poor Internet connection
  3. Cached data in the system
  4. Uploaded file missing or corrupted

On those types of errors, only the Uploaded file missing or corrupted is related to your AVideo platform. to try to resolve it follow this checklist.

Inspect the HTML code

Open the page source code in the browser and look for the tag, then you may find something like this

<video playsinline webkit-playsinline="webkit-playsinline" preload="auto"  poster="https://demo.avideo.com/videos/_YPTuniqid_5d3a5f9a3417a0.99305723.jpg?1588439591" controls class="embed-responsive-item video-js vjs-default-skin vjs-16-9 vjs-big-play-centered" id="mainVideo">
    <source src="https://demo.avideo.com/videos/_YPTuniqid_5d3a5f9a3417a0.99305723_Low.mp4" type="video/mp4" label="Low" res="360">
</video>

Where the https://demo.avideo.com/videos/_YPTuniqid_5d3a5f9a3417a0.99305723_Low.mp4 is our video URL try to open the video URL directly in the browser and check for errors.

Verify if the file exists

List your files inside the videos directory and look for the _YPTuniqid_5d3a5f9a3417a0.99305723_Low.mp4 file. For example, you should use this code

ls -lah /var/www/html/YouPHPTube/videos/_YPTuniqid_5d3a5f9a3417a0.99305723_Low.mp4

check the filesize and permissions.

Check errors on the Streamer and Encoder log files

Use this guide to help you find errors https://github.com/WWBN/AVideo/wiki/How-to-find-errors-on-AVideo-Platform

Open an issue on GitHub

Open an issue and provide all the information and screenshots of the above tests.

Clone this wiki locally