Skip to main content

Adding Resources

1. Add a book

1.7. Adding a transcript

It is good accessibility practice to provide a transcript of video and audio material in your course. Many learners find transcripts helpful, even if the audio or video file is fully accessible to them.

Add a transcript:

  1. Go to the area of the Moodle book where you wish to add a transcript, and switch to HTML mode.
  2. Copy and paste the following code, after swapping the placeholder with the transcript. If your transcript has more than one paragraph, you will need to put these within separate <p> tags.


<script type="text/javascript">

    function toggle(obj) {

        var obj = document.getElementById(obj);

        if (obj.style.display == "block") obj.style.display = "none";

        else obj.style.display = "block";

        }

</script>

<p><a href="javascript: void(0);" onclick="toggle('transcript')">View transcript</a></p>

<div id="transcript" style="display:none;">

    <p>Transcript</p>

    <hr>

</div>


Tip: If your transcript has many paragraphs, here is an easy workaround.

  1. Paste the transcript somewhere on the page, with the editor in standard, non-HTML mode.
  2. Then switch to HTML mode – you will find it has been automatically tagged up.
  3. Underneath, copy and paste the transcript code.
  4. Copy and cut the tagged-up transcript, then paste this into the <p>Transcript</p> placeholder.