P
P
psiklop2020-10-31 16:17:51
safari
psiklop, 2020-10-31 16:17:51

Why doesn't the audio tag work in safari?

<audio src="test.php"></audio>

test.php is now like this, although I changed it 10 times, it always works absolutely everywhere on desktop and mobile, except for safari, it fires an onerror event on the audio tag

header('Content-Type: application/octet-stream');
header("Content-Disposition: attachment; filename=\"".$_GET["id"]."\"");
echo file_get_contents("https://... не важно");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Hiroshima, 2020-10-31
@psiklop

There is an answer at the end =)
https://coderoad.ru/15357196/-audio-%D1%8D%D0%BB%D...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question