cpu-audio icon indicating copy to clipboard operation
cpu-audio copied to clipboard

Check and log a warning on `data-streamed` with `download` attribute

Open dascritch opened this issue 3 years ago • 0 comments

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 the copyAttributesToMediaDataset() step.

dascritch avatar Sep 26 '22 08:09 dascritch