Changing video URL
May 2, 2016 12:00 AM
Hi all,
Is there any reason why changing the URL's on pages with a video wouldn't work? I'd like to host the videos on a separate hosting account.
For example:
Changing...
video174053 = new ObjMedia('video174053','myvideo',0,43,1280,698,1,11,'media/myvideo.mp4',0,1,1,0,1,0.800000,1,'div', 0 );
To...
video174053 = new ObjMedia('video174053','myvideo',0,43,1280,698,1,11,'http://www.mywebsite.com/videos/myvideo.mp4',0,1,1,0,1,0.800000,1,'div', 0 );
I wouldn't have thought changing the source of the video would have any effect, but it doesn't seem to play when I upload the course to Scorm Cloud for testing.
On a side note, I've tried opening the page locally (to ensure it's not an issue with Scorm Cloud blocking external files) and it doesn't work either?
Thanks.
Discussion (4)
SCORM Cloud runs over HTTPS, so your browser probably won't load unsecure content over HTTP. Try it with a HTTPS-enabled video hosting.
Thanks all,
Sergey you are correct. HTTPS is the problem. Thanks very much for clarifying this for me.
What threw me off is the fact the video's weren't playing locally when the external URL's were in place. Which suggested it might be a setting in Lectora (because SCORM Cloud wasn't part of the equation). Turns out I had an issue with Quicktime and things behaved as expected once I resolved it (kind of).
@Darrel. Thanks for chiming in. I inserted the video onto the page. I didn't use the 'streaming video' option, because I was hoping by simply changing the source URL for the video file, It would play through the Lectora HTML player, as it does when the files are in the /media folder and, most importantly, retain the "On complete" actions I have in place. However, when I change the URL (and leave everything as is) it switches to the default browser player? (Hence the reason for the 'kind of' comment above.)
Looks like I'll have to keep the video files in the /media folder unfortunately.
Thanks for your help all, it's certainly appreciated.
B.
Discussions have been disabled for this post