A video file does not play in Portal

Overview

A video file (.mp4 with H264 compression) does not play in Portal and the following error is displayed:

"The video could not be loaded, either because the server or network failed or because the format is not supported"

Screen_Shot_2020-10-20_at_4.12.16_PM_2020_10_20.png

The video plays on WebNative for both nativeadmin and users. Videos of shorter length but the same format don't have a similar issue. 

 

Solution

  1. Navigate to the file /etc/php.ini
  2. Set memory_limit to 8G
  3. Set max_execution_time to 1000
  4. Set max_input_time to 1000
  5. Restart apache

 

Testing

Navigate to the video file that could not be loaded and make sure it plays as expected.

Comments

0 comments

Please sign in to leave a comment.