hyperaudio / hyperaudio-lite

Hyperaudio Lite - a Super-lightweight Interactive Transcript Player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change missing `data-player-type` alert to a console warning

maboa opened this issue · comments

Hyperaudio Lite will still work without data-player-type so it's better fro backwards compatibility if we just produce a console warning.

After looking at this I think the initial decision is correct, as the number of players we support increases, users will have to specify the type of player we're using, because we cannot always reliably detect it. An alert is a much more obvious indication of what has happened and how to remedy.