Embedded quiz not showing up

Embedded quiz not showing up

by Greg Snow -
Number of replies: 4

I am having issues embedding an electronic quiz (created with Articulate Storyline 2) in Moodle 3.4. I've tried using an iframe and an object tag and neither work.

I know I can upload it as a scorm package, and I've done that. The thing is, I don't need tracking or scoring, so I'd like to just embed the Storyline player into Moodle course page and save the learners a few clicks. That just looks more professional too IMHO.

Anyway, I'll give some technical details and then the actual code I used.

TECHNICAL DETAILS:

Moodle 3.4, Fordson theme

Windows 10

Chrome browser

HTML5 file and/or swf file output

 The files play directly in the browser from the server address, so there was no issue with the upload from my hard drive

===========

ATTEMPT 1:

<iframe src="http://gregcsnow.com/articulate_photo_quiz/story_html5.html" width="720" height="540"></iframe>

ATTEMPT 2:

<object width=”720” height=”540”> <param name=”movie”
value=”story.swf” /> <embed width=”720” height=”540”
src=http://gregcsnow.com/articulate_photo_quiz/story.swf />

</object>

===========

I'd prefer to use html5 file since Flash is being phased out. However, maybe Moodle doesn't handle html5 very well. I know it handles swf files though.

Any ideas on how to resolve this?

Thank you.

Greg


Attachment screenshot1 photo quiz jpeg.jpg
Attachment screenshot2 photo quiz jpeg.jpg
Attachment screenshot3 photo quiz jpeg.jpg
Average of ratings: -
In reply to Greg Snow

Re: Embedded quiz not showing up

by Michael Haynes -

Hold down ctrl > shift > i

Click on "console" and then reload the page.  My money is probably on not loading mixed mode content (you need to use https:// in your link for the embed.)

In reply to Michael Haynes

Re: Embedded quiz not showing up

by Greg Snow -

Thanks.

I still can't get it to work, unfortunately. It's still giving me a 404 error even though the link works in the browser. It still won't display in Moodle. Moodle is configured to play swf files as far as I can tell (see last screenshot).

Just in case you are willing to take another look at this, here is what developer tools is showing me now:











Attachment moodlepic1.jpg.jpg
Attachment moodlepic3.jpg
In reply to Greg Snow

Re: Embedded quiz not showing up

by Michael Haynes -

Try

<iframe src="https://gregcsnow.com/articulate_photo_quiz/photo_composition_quiz_storyline_output_web/story_html5.html" width="800px" height="600px"></iframe>

In reply to Michael Haynes

Re: Embedded quiz not showing up

by Greg Snow -

It works! Beautiful. Thanks so much. 


 It's late here, so tomorrow I'll look and figure out why the iframe I tried before failed. I used "http" instead of "https". Not sure if there was anything else I messed up, but I will definitely check.