<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<script>
const url = "//assets.pinterest.com/js/pinit.js"
const newScript = document.createElement("script")
newScript.setAttribute("async", "true")
newScript.setAttribute("defer", "true")
newScript.dataset.pinHover = "true"
newScript.dataset.pinTall = "true"
document.head.appendChild(newScript)
newScript.src = url
</script>
</body>
</html>
<body>
<p>Название</p>
<audio src='audio/Dich.mp3' controls audioplay></audio>
<p>Название</p>
<audio src='audio/Flower.mp3' controls audioplay></audio>
<p>Название</p>
<audio src='audio/Dich.mp3' controls audioplay></audio>
<p>Название</p>
<audio src='audio/Flower.mp3' controls audioplay></audio>
<p>Название</p>
<audio src='audio/Dich.mp3' controls audioplay></audio>
<p>Название</p>
<audio src='audio/Flower.mp3' controls audioplay></audio>
<script>
const aud = document.querySelectorAll('audio')
Array.from(aud).map(el => el.addEventListener('play', () => {
const played = document.querySelector('[data-play="true"]')
if(played && played !== el) {
played.pause()
played.removeAttribute('data-play')
}
el.dataset.play = 'true'
}))
</script>
</body>
var change_dive = document.getElementsByClassName('changeblock')[0];
change_dive.insertBefore(change_main, null);