ClicFlic Logo

ClicFlic Logo
ClicFlic

Saturday, September 28, 2013

Initial File Upload Capability

This feature is only available in HTML5.

You can now create a file upload button, control what types of files can be uploaded, and send the files back to a server in the background, from within an IMO. You can also set clip segments to be selected if all file uploads have not yet completed, and to autoforward to a new clip when the file uploads are fully uploaded.  The button can be an image or a standard button, styled just like any other ClicFlic button. It does not look like the browser-specific file upload button we all know. Also, it can change appearance based on 'state' - based on whether there is a file ready to be uploaded.

File upload buttons are form elements, and so they need a submit button of some kind on the interaction to actually start the upload. Once the submit button is clicked, the IMO will perform whatever the click action of the submit button is, but will also silently upload the file totally in the background.

Accessing the Microphone or Camera directly:

The answer is: not yet. Web technology producers are certainly recognizing that the ability to access a microphone or video is important. Both Chrome and Firefox have implemented the ability to directly access the camera, microphone or video camcorder, if it's present and capture media either for playback within the browser or for sending back to a server. But even on these browsers the feature doesn't work on mobile platforms.

We are still several years away from a working standard for accessing media devices from within the web browser. There are a host of issues. I'm sure they will all be solved and the ability to easily capture audio/video from a web browser will have a profound effect on assessments.

File Upload to capture video/audio or other media

Currently, all browsers support file upload. On most modern mobile devices, the browser asks you if you want to directly access the camera, camcorder, or microphone. Then after you perform your capture, it places the captured file in the file upload slots. Workstations make you find the file yourself in the file system, and you have to create it totally separately.

We will certainly enhance the capability down the road as browsers improve. However, if you want to capture a short audio or video of a participant, as part of a pre-employment test, for instance, you can do this using this feature.

Integration

For integration with ClicFlic systems (ClicFlic and HR Avatar), the uploaded files are automatically captured and stored for retrieval in the online reporting system.For third party integrations, you must set the file upload URL at author time. The uploaded file is sent as an HTTP Post with Multipart/form-data content type. Parameters sent along with the file itself include: 

idn - the IMO number
eventid - the event identifier provided at runtime
ndseq - the ndseq number for the interaction
snseq - the snseq number of the file upload

Note that IMO always uploads files directly to a server, never through a hosting webpage. At runtime, you need to set the URL using the startup parameter: fupldurl

Authoring Notes

Note also that this feature is only available in HTML5 implementations. You can now create multiple clip segments in a clip and set one clip to be selected when the IMO is playing in flash, as well as if it's playing in HTML5 or HTML5 on mobile or HTML5 on non-mobile, or if all uploads have not completed. This gives you flexibility on how you handle situations where the browser is not compatible with file uploads and situations where the uploads have not completed. These settings are selected in Clip -> Clip Segment Advanced Settings -> 'select this clip segment if'  Remember that these settings are evaluated by the IMO in the same order as the clip segments appear in the clip, so you usually want to place the most restrictive clip segments at the top of the list.

Note that clips that are selected only when file uploads are not complete, should have an auto-forward attached to them. The IMO will execute the autoforward when the uploads have completed.










No comments:

Post a Comment