"You do not have access to this content. Try logging in"
Submitted by egregg on Fri, 12/21/2018 - 13:48
We have created a few H5P interactives and embedded them in our moodle courses.
Certain accounts can view the interactives without problems but others get the error message "You do not have access to this content. Try logging in.”.
there seems to be no correlation between the type of account (i.e teacher/student) and the error message as some teachers can view without issue, others cannot.
Need help with this ASAP please.
Mon, 12/24/2018 - 05:43
Hi egregg!I assume that the
I assume that the course that you're trying to embed the content from is not publicly accessible. In that case, any user that is not a learner/teacher in that course will not be able to access the H5P interaction just like any other content of the course.
Thu, 12/27/2018 - 20:26
Moodle iframe embed: You do not have access to this content
We're all of a sudden having the same issue. Admin can see the Moodle-made embedded iframe H5P activity content, but no one else can (teachers/students)- they see the "you do not have access..." message.
The H5P activity was created as follows:
I dont recall this being an issue the last few months... All users can see the activity directly, but not when embedded using the iframe: ie: https://school.21cccs.org/mod/hvp/embed.php?id=573017 ... (iframe src="https://school.21cccs.org/mod/hvp/embed.php?id=577796" allowfullscreen="allowfullscreen" width="733" height="302" frameborder="0")
Any suggestions on how to trouble shoot this?
All users can see the H5P activity, even in Stealth mode: https://school.21cccs.org/mod/hvp/view.php?id=580414
When "view" is in the URL, no issues. But when "embed" is in the URL (in place of the word "view"), it tells the users they should try loggin in, despite being logged in and having full access to that class and activity. Once the embed code is grabbed, then they *student and teachers* cannot see that same activity:
<iframe src="https://school.21cccs.org/mod/hvp/embed.php?id=580414" width="953" height="231" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
I'm using Moodle 3.4.6 and H5P version 1.12
Tue, 01/29/2019 - 04:50
Having same issue
I was wondering if this has progressed at all, I am having the same issue.
Admin can see the Moodle-made embedded iframe H5P activity content, but no one else can (teachers/students)- they see the "you do not have access..." message.
Tue, 09/24/2019 - 21:53
I am having the same issue.
I am having the same issue. How would I know if I am embededing content is not publicly accessible? I am using cohorts for my 2 types of users, would that cause an issue? I need to get this content to display for my users. Thanks
Wed, 09/25/2019 - 11:36
Hi Christy!On moodle, your
On moodle, your H5P content will not be publicly available if the course it is to be found in is not publicly available. That's not a restriction that H5P is imposing, but moodle does.
If you want H5P contents to be publicly accessible/embeddable, you will have to
Please note that these settings may interfere with how the rest of the site is intended to be used.
Tue, 01/29/2019 - 16:52
You do not have access -- cloned course
So it turns out that this is what happended:
1 - Teacher created a course, including H5P activities. She included some embed links from the H5P activities into her course Lessons
2 - I cloned the course.
3 - Students enrolled in the cloned course couldn't see the embedded H5P activities. This is becuase they were embed links that were attempting to show the H5P activities from the original course, the ones these students were not enrolled in.
So even though cloning a course creates a new instance of the H5P Activities, it does not update the embed links to match these new activities. So once I went intot the lessons and updated the ID number to match the H5P activies for that course, then all was fine...
Wed, 01/30/2019 - 06:32
Hi 21cccs,I'm glad it's
I'm glad it's working for you now and thank you for getting back to us. This should help anyone that may be encountering the same problem in the future.
Mon, 04/01/2019 - 15:30
Helped me, too - Thanks!
I had the same problem. Copied a course in Moodle that included H5P activity embeded within the course. Forgot to update the embed code in the new course. Received emails asking why participants were getting the "...try loggin in" message. Searched and found this answer in less than a minute.
Wed, 08/14/2019 - 07:36
You do not have access to this content. Try logging in.
I updated to the most recent version of moodle, and now have this error, when I didn't before the update.
My course is set out like follows:
I am not aware of any other pemissions settings, but when logged in as a student I get the error message
You do not have access to this content. Try logging in.
I have already gone back and cut and pasted the embed code into the moodle lesson, but the error message is the same.
I re-iterate that I didn't get this issue before the moodle update. None of the lessons were cloned or duplicated.
Wed, 08/14/2019 - 18:35
Hi geckonet,Would you mind
Would you mind providing the following:
Fri, 09/27/2019 - 01:31
access to this content. Try logging in.
When you say: "5 different h5p course presentation modules - hidden from student using edit/common module settings" do you mean put into Stealth Mode ('hidden but available') or do you mean actually 'hidden' -- hidden will prevent your iframe from displaying to students where as stealth mode would allow that iframe to be visible.
Tue, 09/24/2019 - 21:56
Having same issues
I am not sure how to fix this on my end. It is not a cloned course. I am using cohorts to put users into two different types of courses. Any solutions anyone can share for this frustrating problem? Thanks so much
Mon, 12/02/2019 - 00:13
Similar issue, but only with select students
Moodle server running 3.4+ .
Course was NOT cloned. H5P content is not from old courses.
In a class with 16 students, two of them are getting the "You do not have access to this content. Try logging in." error. The others are fine. Tried adding a new "dummy" student (from a different email domain) to the course and got the same error.
Admin accounts, Teachers, Managers see the content fine.
H5P content OUTSIDE the "book" can be viewed fine by those three student accounts.
Checked Moodle permissions for the student users. They are identical.
Thu, 06/18/2020 - 13:23
You do not have access to this content. Try logging in
The embedded codes suddenly not working/displaying for my course. I am an admin of the course and can still view them but not the course owner and participants. H5p version is currently 1.20.1 and moodle in 3.5
Thu, 09/10/2020 - 14:14
Problem with viewing embedded H5P activities in Moodle
All the activities worked previously but suddenly none of my embedded H5P activities are working. Guest access in enabled, student's self enrol and when enrolled it still says "You do not have access to this content. Try logging in." There is no restricted access and the activities have not been cloned from another course. H5P version 1.20.2 with Moodle 3.8.1+ (Build 20200117) Please can you offer any help with this matter. AAC Guided Pathways level 1 Thank you.
Tue, 12/21/2021 - 14:31
any updates on this?
Hey guys, any updates on this? I'm facing this same issue and its making me insane, as some but not all embedded h5p activities ask for login while i'm logged in with student account. Even if i have a manager rights asks for login. It's so confusing and frustrating
h5p version 1.20.2