EzerIT / BibleOL

Web-based instruction in Biblical Hebrew and Greek
Other
26 stars 16 forks source link

Embedding #55

Open jloewenstein opened 8 months ago

jloewenstein commented 8 months ago

Would it be possible to generate an embed code for an exercise alone? Challenge beside the code being it will need to request login first.

tmccormack165 commented 8 months ago

Hi @jloewenstein, I am sorry I do not think I understand what you mean by embeded code, could you please clarify this for me?

jloewenstein commented 8 months ago

Sure:) We use various tools to diversify the learning experience in our courses. We have our course website and we try to simplify the experience for our students and have them stay there. One website we work with is called wordwall. Once an activity is made there one of the options is "embed". image this opens up a window containing an embed code. image I than copy and can paste in a HTML box on our website.

I tried taking a link to an exercise I created on Bible OL and use it in a simple embed code: <embed src="https://learner.bible/text/show_quiz?quiz=Biblical%20Hebrew%20as%20a%20Living%20Language%2FBHLL%20L1%2FSingular%20possessive%20suffixes%20for%20singular%20masculine%20nouns.3et&count=10" width="90%" height="400"></embed> image

The Error is expected. I'm just not sure if there is a way to circumvent it. Since to log in a student will need to go to the home screen in the embedded window, and once logged in still be in the home page and need to navigate themselves through the exercise directory.

ernstboogert commented 8 months ago

We have been discussing this option in the past. It always comes down to the issue that the student needs to be logged in in case the exercise is protected. However, you can use a link to the exercise directly that will bring the student directly to the exercise. If the exercise is unprotected, that should work out of the box. Not sure whether that works with embedding. It is important that you cannot use restricted access in case you do it this way, unless the student is already logged in.

ernstboogert commented 8 months ago

I guess we can do some more work to embed the exercise into other platforms. Especially, with the logging in issue... This needs some more research and work...