Skip to content

Installation

To use the Screen reader player, the following files must be made available on a web server:

  • dist: folder from the Screen reader player download

  • course.xml or course.zip: edML course file

  • index.html: Entry page

The entry page can have the following content:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Your course title</title>
  </head>
  <body>
    <script type="module">
      import { ScreenReaderPlayer } from "./dist/screen-reader-player.js";
      const player = await ScreenReaderPlayer.create("course.xml"); // or course.zip
      player.play();
    </script>
  </body>
</html>