video or image upload fails using Chrome (macOS)
Submitted by carijansen on Tue, 10/02/2018 - 04:39
After most recent Google Chrome update it seems I am no longer able to upload mp4, png, jpg files to H5P presentation slides.
- tested after clearing browser cache and rebooted: Fails
- tested with files that previously worked OK: Fails
- tested by creating new section in moodle, added new H5P presentation, uploading video or image: Fails
- upload of similar files to moodle pages works fine, e.g. the issue only occurs with the H5P presentation plug-in.
Error: Course or activity not accessible.
Workaround: Moving to Firefox resolves the issue
- Google Chrome: Version 69.0.3497.100 (Official Build) (64-bit)
- OS: macOS High Sierra. Version 10.13.6
- H5P plug-in: Latest update (admin updated the plug-in to latest version to see if that resolved the issue).
- Platform: Moodle 3.1
Error: Course or activity not accessible when uploading video or image
Tue, 10/02/2018 - 07:53
Hi carijansen,Thank you for
Thank you for reporting this. Please provide the information below.
Mon, 10/08/2018 - 06:35
I don't have php admin access
I don't have php admin access, so can't supply you with that.
Note: for security/privacy reasons I've had to remove the domain name for the organisation I work for.
Mon, 10/08/2018 - 10:20
Hi,Looking at Moodle's source
Looking at Moodle's source code we can find the "Course or activity not accessible." error message.
It is displayed when Moodle is not able to log you in automatically. This indicates that this is a Moodle login issue rather than an H5P issue, and this is further emphasized by FireFox not being able to log you in and the password auto-complete error from your console.
Does this happen with any other devices with the same browser ? If not I suggest trying to log out completely and clearing any Moodle cookies/session, before trying to login to Moodle again through the main page and then accessing the content.
Best regards, Thomas
Fri, 10/12/2018 - 10:43
Chrome 69 issue - need your help!
We have several users reporting the same problem - i.e: upload of files through Chrome 69 fails. We have tried the same operation on the same Chrome version on several different operating systems, but are not able to reproduce.
What we see from the input we have gotten from the different H5P users reporting this, is that it seems the H5P site doesn't think you are logged in when the file is sent.
I have come up with a hypothesis that the session cookie is not sent when the file is uploaded, which means the H5P site doesn't think you are logged in (and thus are not allowing file uploads)
Since this doesn't happen for everyone using this Chrome version, it has to be a combination of several things. I can think of two things that can interfere:
Therefore, it would be great if you could do the following experiments:
Please post your findings here :)
Wed, 03/13/2019 - 11:14
BlockThirdPartyCookies registry key
I discoverd that BlockThirdPartyCookies registry key prevents the uploads to complete in chrome and posted about the issue here https://h5p.org/node/455393.