Buggy when playable media not declared
reported Mac OS X Safari 12 by @hadrienl
Reason : buggy if a suitable media (here .mp3) is not declared. it was :
<cpu-audio title="CPU Ex0088 Bonjour à toi, Enfant du Futur Immédiat : Dompter la puce" poster="/vrac/.blog2/radio/cpu_logo_liseret.png" canonical="https://dascritch.net/post/2018/09/13/CPU-Ex0088-Bonjour-%C3%A0-toi%2C-Enfant-du-Futur-Imm%C3%A9diat-%3A-Dompter-la-puce" twitter="@dascritch">
<audio controls="controls" style="width:100%;" id="audio">
<source src="https://dascritch.net/vrac/Emissions/CPU/0088-CPU%2813-09-18%29.ogg" type="audio/ogg; codecs=vorbis" />
<source src="" type="audio/mpeg" />
</audio>
</cpu-audio>
Should have shown an error in the interface. Probably the errors events are not triggered, as with Chrome , see update_error() https://github.com/dascritch/cpu-audio/blob/master/src/45_element_cpu.js#L65
Needs to change the title :)
<audio>.readyState will stay in UNSENT (0) value if the given URL resource is buggy. But we will have the exact same status if we have an <audio preload="none">.
Frustrating.
Documentation written in TROUBBLESHOOTING. This is really sad.
To retest. May be corrected by Apple or more probably mitigated by ourselves.
Someone to test ?