Documentation

Videos

Author allows adding subtitles to videos which makes it possible to meet the Success Criterion 1.2.2 Captions (Prerecorded).

In the video addon in the Files property, there is a section "subtitles" in which you can add text to be shown on the video. You can also define the look of the subtitles using the proper CSS classes.

More information about subtitles can be found in the Managing subtitles section of the Video addon documentation.

mAuthor also offers a way to add audio descriptions for videos without needing to edit the video files. This allows meeting the Success Criterion 1.2.3 Audio Description or Media Alternative (Prerecorded).

If you prepare audio files with audio descriptions and a list of times when the video should be frozen and audio played, a simple script does the rest.

First, add video files in the video1 addon. Next, add Multiaudio1 with the audio files, give the IDs from 1 to the number of descriptions. Then add a VariableStorage1 – a variable called “pauses” and in the Start property of this variable put all the times in the format mm:ss separated by a comma. And in the Advanced Connector add a script:

EVENTSTART    
Source:MultiAudio1|video1    
SCRIPTSTART    

var audio = presenter.playerController.getModule('MultiAudio1');    
var vs = presenter.playerController.getModule('VS');
var currentItem = parseInt(vs.getVariable('item'),10);
var source = parseInt(eventData.source.slice(-1),10);
var video = presenter.playerController.getModule('video1');

 if(eventData.source == 'video1'){
var vs = presenter.playerController.getModule('VS');

//PAUSES + AUDIO
    var pauses = vs.getVariable('pauses').split(",");
    var video = presenter.playerController.getModule('video1');
    var audio = presenter.playerController.getModule('MultiAudio1');

    if(typeof presenter.timeout !== "undefined"){
        clearTimeout(presenter.timeout);
    }
    audio.stop();
    $.each(pauses, function(k,v){
        var audioItem = parseInt(k,10)+1;
        if(eventData.value == v){
            video.pause();
            audio.jumpTo(audioItem);
            audio.play();
        }
    });

}
if(eventData.source == 'MultiAudio1' && eventData.value == "end"){
 var video = presenter.playerController.getModule('video1');
 video.play();
}
SCRIPTEND    
EVENTEND

You can check how it works in the demo presentation. You can also copy this presentation to your My Lessons space and check it in the editor.

It is also possible to make the audio description without recording the audio files. In the video addon in the Files property, there is a section "Audio description" in which you can add text to be read and shown in the video. You can also define the look of the displayed audio description using the proper CSS classes.

More information about audio description can be found in the Managing audio description section of the Video addon documentation.