Skip to content

Unable to play dash.js stream from local disk file

Created by: charlie-ht

Environment
  • Link to playable MPD file: N/A
  • Dash.js version: Latest
  • Browser name/version: Safari
  • OS name/version: Linux
Steps to reproduce
  1. Please provide clear steps to reproduce your problem I am trying to understand if I can play an MPEG-CENC encrypted ClearKey file from the local disk, without hosting it all on a server. When I try to this, after passing all the relevant "allow local file access" flags to my browser, "nothing happens". There's no JS errors, no pertinent info from my web engine, and no interesting debug logging. Am I misunderstanding something, is there a way of doing this without hosting the mpd files on a server (I have that workflow working nicely)

  2. If the bug is intermittent, give a rough frequency if possible

Observed behaviour

Describe what the player is doing that is unexpected or undesired behaviour.

Console output
Paste the contents of the browser console here.
You may need to enable debug logging in dash.js by calling player.updateSettings({ 'debug': { 'logLevel': dashjs.Debug.LOG_LEVEL_DEBUG }}) if you are using your own page.

No logging