HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... External file
External file
  View type:
Hi,

I want to add external windoes media player object
which supports close captioning.
For that I create windoes media player object having id "player"
and set
"document.Player.url = media;
document.Player.closedCaption.captioningID = "captions";
document.Player.closedCaption.SAMIFileName = samifile;"
in javascript.

To achive this
1] I need to add smil file & media file into course folder.
2] I want to set player property usnig javascript.
3] I want to add object in html page

How can I achive this using course lab tool.

Thanks
Varsha
 
Hi Varsha
You could do this using the IFrame object which can link to an external web page. This gives you a degree of control as you can have that page check versioning and extensions (see below) with a fine degree of control.
If you want this to have 100% availibility then you should probably add the page and its contents as a folder in the courselab module. You should also add the MSI for the version you want used and MSI's that may be required for any functionality above that normally included in that specific version.
In this case, iframe and web page) the control of the media file is with the discrete web page.
*** You should be aware that this action is increasingly viewed as a potential threat by the web browser engines. Some coporate browsers have locked security settings and will not allow actions like this, some newer version web browser engines will flag warnings that will require the user to allow the action to complete.
Cross domain name calls are bad news.

*** You will need to ensure that the player and any required codecs (that every user of the page has installed on their PC) is the same as you are defining for the functionality level you require. You cannot assume that as a user I will be using the same viewer as you or anyone else is even when considering windows as your main target platform.
The player action in courselab simply calls for an instance of the player to run within the courselab DOM, if it is not available then nothing happens within courselab although the OS may flag this as a problem and ask if it can download a player to suit the media type.
Courselab can check at the module start up for the availibility of generic player types but NOT the specific version available or required.
You are specifying the windows media player which is available in 11 main versions now and 100's of sub versions (luckily probably only 3 are in common use) each has many generic and version specific add-ons.

*** If the user has CC turned off then the player won't even look for the sami file, if you want to change the properties of the player then you need to get the SDK for players 8 - 11 and code for each. The coding is virtually the same but there are small increments in functionality. Again wether this is allowed by the OS layer on the viewers PC depends on which it is and what the users security schema is like.

Otherwise
(a) just use the inbuilt wmv object. If the user has CC turned on then it should find the sami and work. Add an advisory note that CC is available fom the module startup page so users can turn the functionality on if they need it.

(b) produce a plain wmv and OC'd version then offer the user the option of using either.

(c) synchronise the wmv with a timeline series of objects to provide a pseudo CC, this will probably fail due to differences in PC performance and playback capabilities.

Regards

Nick
 
 
Hi Nick,

Thanks for the prompt reply. From the above reply I had certain doubts and some more queries.

I am a newbie and found understanding the previous response difficult to comprehend. I would be grateful if the response is simplified for me.

From the response:-
Just use the inbuilt wmv object. If the user has CC turned on then it should find the sami and work. Add an advisory note that CC is available fom the module startup page so users can turn the functionality on if they need it.

This does not seem to work. So for a work around I used IFrame and called a HTML page that does it but I dont see a option for importing the media files into the course. So as a workaround I have to use Media Objects and hide it so that the media files get imported. Can there be a better method than this that I am unaware about.

Some more questions:- :-)

Table of Contents:-
I am using this Navigation Object for the table of contents. Can I customise this to display some pages whereas I can hide some other pages. Can I customise this TOC to suite my needs. What options do we have here.

Scorm Results:
I am not getting the following values in my LMS from the course for SCORM 1.2:
cmi.core.lesson_status
cmi.score.raw
cmi.interaction.*

Is there any setting that I need to do for geting the results for this?
 
 
 
Hi
On point one.. AFAIK the wmv player will use CC if it is already switched on but not if it is off. So advise users that it exists.

Using the IFrame calls an external object which courselab has no control over so you have to ensure the components are available. This does mean as you have found that you must manually save the files within the module.

TOC.. Again AFIK there is no method of hiding page references in it. Possibly the XML files could be modified to achieve this or css used to hide selected enteries. This would have to be coded by hand.

Scorm results depend on the LMS and the version, some work fully but other don't. This problem could be Courselab or the LMS [:confused:]If it is possible try the module on a different LMS. If it still fails then it is probably a courselab issue, if it works then it is an LMS issue.
There are a few strands dealing with this kind of problem in the forum.

Overall it sounds like you are finding the basic answers for yourself very well.
 
 
 
 
Hi,


Thanks for your reply. I am getting SCORM value in my LMS.But I have doubt about cmi.suspend_data value.
I want to know the value type of cmi.suspend_data objectives in scorm 1.2 & scorm2004 course.

I had created scorm 1.2 course using Courselab tool which sets the value for cmi.suspend_data as following :-
"<SCO><visits>0306070509</visits><objects/><objectives><o id=\"total\" desc=\"This is automatically created module objective.\" module=\"yes\" cs=\"i\" ss=\"u\" max=\"100\" min=\"0\" raw=\"1\" scaled=\"0.01\"><s id=\"OBJ_11_0\" raw=\"1\"/></o></objectives>
<interactions>
<i id=\"OBJ_14\" b=\"2008-09-16T10:02:37Z\" t=\"multiple_choice\" d=\"3/3[,]0~1~2~3\" l=\"3\">
<rr>
<r p=\"3\"/></rr></i><i id=\"OBJ_11\" b=\"2008-09-16T10:02:43Z\" t=\"sequencing\" d=\"1/1[,]0\" l=\"OBJ_11_0\" y=\"PT5H30M3S\">
<rr><r p=\"0\"/>
</rr>
</i>
<i id=\"OBJ_11_0\" b=\"2008-09-16T10:02:43Z\" t=\"multiple_choice\" d=\"0/1[,]0~1~2~3\" l=\"3\" y=\"PT0H0M2S\" r=\"correct\" w=\"1\">
<rr><r p=\"3\"/></rr></i></interactions></SCO>"

Is this form of data is predefined type or scorm compliant.

Can I get the meaning of tags and attributes of above data.

Thanks
Varsha

 
 
 
 
 
Varsha

If you want a basic understanding of the SCORM standard or knowledge regrading a specific part of it then download them and read them. You will find all the information you need there.
Subject:
Message options
No additional options