mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-05 19:57:31 +00:00
Add Atavist audio controls.
This commit is contained in:
1 parent
c62ec55f15
commit
43e3779cc2
1 file changed
+11
@@ -61,6 +61,17 @@ if (feedLink.href.includes("https://magazine.atavist.com/")) {
|
||||
}
|
||||
</script>
|
||||
|
||||
<script type="module">
|
||||
// Atavist
|
||||
const feedLink = document.querySelector(".feedlink");
|
||||
// add audio controls
|
||||
if (feedLink.href.includes("https://magazine.atavist.com/")) {
|
||||
document.querySelectorAll("audio.telex-audio-player__audio").forEach(audio => {
|
||||
audio.controls = true;
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
<script type="module">
|
||||
const feedLink = document.querySelector(".feedlink");
|
||||
|
||||
|
||||
Reference in new issue
Block a user