Inserting a Web Page That Will Be in the Course Folder

Is there a way to insert a web object that links to a web page that will reside in the course content folder? Every time I put the name of the page in the web object, it adds http:// to the beginning which throws an error when it tries to load it. I need the web page to stay with the course.


4 Replies
Jeff Kettler

It's code for an iframe and some JavaScript. I know that I can't insert the iframe code in the web object so I created a web page that contained the code and was going to put it in the folder with the published course. But since it puts the http at the beginning, the browser thinks it's a site and throws an error.

The code is for a video player that's located on another server that acts as a video content manager. The server gives you embed code for each video so you can use the video on other sites. Everything is hosted on our internal network.

Ashley Terwilliger-Pollard

Hi Jeff,

I suspect we'll need to defer to the community on this, as Javascript is not something we're equipped to support or writing the iframe code. Are you unable to just use the embed code as a web object instead of placing within this additional layer? 

Also you'll want to make sure that you're working with local project files. 

Jeff Kettler

The embed code can't be used as a web object because it's not a web page. It's html code and a link to a JavaScript file like the code below.

So I created a web page and put the code in it thinking I could put it in as a web object. The problem I ran into is that you can't link to a file that resides in the publish folder. It has to be placed on a web server with a full URL path since Presenter puts an http at the front of it. If I could put the file name in without the http, it would work. I'm not quite sure why we aren't given the option to leave off the http.

<script type='text/javascript' src=''></script>
<iframe seamless frameborder=0 allowfullscreen webkitallowfullscreen mozallowfullscreen src='' width='720' height='446'></iframe>