Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Video issues: slow loading and playback |
|
Author |
|
r.jensen@consol.ca
Joined: 17 Nov 2024 Posts: 1 Location: Canada
|
Posted: Sun 17 Nov '24 9:30 Post subject: Video issues: slow loading and playback |
|
|
I have not had success on the Moodle forums, and the recommendation was to post here as the issue might be outside of Moodle.
This is a new Moodle installation. Hosted on an IONOS VPS with Ubuntu 20.04, Plesk 18.0.64, and Moodle 4.1
We are just developing courses. Everyone is reporting two issues with the H5P Interactive Video plugin:
extended delays loading the video
slider not working, always restarting the video
You can check these issues out for yourself. Click here to visit the CA🍁SP website: www.CASP.ca
Scroll down a bit. The two videos are on the main page
Load time. People are finding that it sometimes takes minutes to load lessons. On other Moodle websites, lessons load in a few seconds.
Slider. For both H5P Interactive Videos, Disable Navigation is set to "None", meaning that the viewer should be able to move the slider to any position. Every time the slider is moved, it restarts the video.
Given that no-one else is experiencing this, it appears to be a server issue.
Suggestions on what settings to check?
Thx[/list] |
|
Back to top |
|
tangent Moderator
Joined: 16 Aug 2020 Posts: 349 Location: UK
|
Posted: Wed 20 Nov '24 0:06 Post subject: |
|
|
A quick visit to your www.casp.ca site shows your web server is Nginx, not Apache. So unless there are other members on this site who have direct experience with running and configuring Moodle code, I'm not sure you'll get much feedback.
For what it's worth, from here in the UK I experience no delay in accessing the two sample videos you mention, though the slider functionality doesn't work for me either, using Chrome or Firefox. To me that has to be down to the Moodle code controlling the video playback, rather than the web server per se, especially since if I look at the browser network traffic with developer tools, I can see the entire video is being downloaded, for local processing within the browser, before it can be played. i.e.
Code: | GET https://casp.ca/pluginfile.php/1/core_h5p/content/189/videos/files-673cda6ccde64.mp4
Status 200
Version HTTP/2
Transferred 40.18 MB (40.17 MB size)
Referrer Policy strict-origin-when-cross-origin
DNS Resolution System
| and
Code: | GET https://casp.ca/pluginfile.php/1/core_h5p/content/190/videos/files-673cddbe75b7a.mp4
Status 200
Version HTTP/2
Transferred 82.37 MB (82.37 MB size)
Referrer Policy strict-origin-when-cross-origin
DNS Resolution System
|
My download times for the smaller video was 6 secs and for the larger one 11 secs.
However, if the Moodle code currently requires the entire video to be downloaded before it starts playback, that may explain why some users are complaining, especially since the larger of these sample files is only some 12 mins of video.
I don't think your problem is with the web server; I'd go back to the Moodle forums. |
|
Back to top |
|
labradort
Joined: 15 Nov 2024 Posts: 4 Location: Canada, Kentville NS
|
Posted: Tue 26 Nov '24 20:48 Post subject: Moodle video list downloads everything |
|
|
I didn't visit your site, but this might provide a clue.
If your moodle course page has a list of links to videos, you will see a thumbnail by each one. How moodle does that, is by downloading the whole video and then getting the frame from the video to make a thumbnail. So if the course has 10 videos, and 20 people visit the course page, 200 video downloads occur, putting a big load on the server, even though no one clicked on a video link.
One solution is to not put these on the main page of the course. Make it content you need to find in a subfolder. Another solution is to use other options so that the video is in another location than the moodle server itself (Onedrive, youtube, etc.) |
|
Back to top |
|
|
|
|
|
|