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

Buggy when playable media not declared

Open dascritch opened this issue 7 years ago • 4 comments

reported Mac OS X Safari 12 by @hadrienl

dascritch avatar Sep 21 '18 09:09 dascritch

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 :)

dascritch avatar Sep 24 '18 15:09 dascritch

<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.

dascritch avatar Feb 08 '21 17:02 dascritch

To retest. May be corrected by Apple or more probably mitigated by ourselves.

dascritch avatar Apr 20 '21 10:04 dascritch

Someone to test ?

dascritch avatar Sep 07 '22 08:09 dascritch