An audio WebComponent to provide timecoded links and other features to an audio tag
GNU Lesser General Public License v3.0
24
stars
2
forks
source link
Check and log a warning on `data-streamed` with `download` attribute #184
Open
dascritch opened 1 year ago
Even if we indicate in the documentation https://github.com/dascritch/cpu-audio/blob/master/INSTALL.md#indicate-a-prefered-downloadable-audio-resource to not use download attributes indicators when a media is indicated as streamed, I think it may be useful to indicate in a
warn()
this kind of misconfiguration.IMHO, the best way to do it is to do an integrity check at
CpuAudioElement
class instantiation during thecopyAttributesToMediaDataset()
step.