H5P Activities Not Visible to Guests in Moodle
I am having a problem where Interactive Videos are not avialable to Guests in Moodle (I would like the course content to be public).
Users logged in as guests can successfully view other content. However, in selecting the Interactive Videos, the video description will load, but not the actual video.
It took me a while to notice this problem because apparently if I have logged in and viewed the content, e.g., as administrator, logout, and then view as guest, I can now successfully view any of the H5P videos as a guest (not just the one I looked at):
I have confirmed the setting here for enabling guest access:
And under Course Administration → Permissions → Activity: H5P → Get/view content of H5P file in course
the Guest role is among those with access.
Moodle is set to log in visitors as guest automatically for these courses
Moodle Version: 3.1.1
H5P version: 1.4
Interactive Video version: 1.15.0
Mon, 06/19/2017 - 09:32
Try giving your guest user
Try giving your guest user the following permission: mod/hvp:getcachedassets
Wed, 06/21/2017 - 01:24
Hi, icc, thank you for your
Hi, icc, thank you for your reply.
Course Administration → Users → Permissions
there is no mod/hvp:getcachedaccets option listed. Is it configurable somewhere else?
For the available options, any H5P option that is enabled for students is also enabled for guests.
Wed, 06/21/2017 - 10:41
If you go to 'Site
If you go to 'Site administration \ Users \ Permissions \ Define roles' and click edit(cog) next to the Guest role you should be able to find and allow the permission at the bottom of the form.
(since content types are shared between courses the permission to view them is on the global/system level)
Wed, 06/21/2017 - 23:33
That has solved the problem. Thank you very much!
Thu, 03/08/2018 - 08:14
Still not working
I've gone to 'Site administration \ Users \ Permissions \ Define roles' and clicked on the edit (cog) next to the Guest role as well as the Student role and gave permission to mod/hvp:getcachedassets and nothing changed on the Guest or Student roles.
Is there something I am missing because it still displays the following on my embeded H5P activity:
The only thing it shows is the H5P logo with "You do not have access to this content. Try logging in."
Tue, 03/13/2018 - 14:42
Are you able to view the H5P
Are you able to view the H5P activity in the course it was created?
Sat, 09/29/2018 - 15:45
Having the same problem
Permission mod/hvp:getcachedassets allowed. Still I cannot see any content in guest role. Message: "You do not have access to this content. Try logging in." Need some good advice. Is there any solution here? Help!
Thu, 10/04/2018 - 10:20
Hi, you need to provide us
Hi, you need to provide us with more information for us to efficiently help you.
Which permissions are allowed for the guest ? Which context are the guest in ?
Have you enabled guest access for the course and the content ?
Is this normal content in a course or embedded somewhere else ?
Do you get any error messages in your browser's console or in your php error log ?
The more information you can provide us with, the easier it will be for us to give you a precise answer and help you. Screenshots are also very helpful.
Fri, 02/15/2019 - 14:45
Yo tengo un problema parecido, pero los que no pueden ver los recursos interactivos son los estudiantes, quizá alguna idea por donde corregir el error?
Mon, 02/18/2019 - 06:09
Hi vladycruz,Please see my
Please see my comment here.