Page 1 of 1

Can't figure out how to get the audio teases to play.

Posted: Fri Aug 28, 2020 6:35 am
by psyopus
I am on the audio teases ... I'll pick one I'd like to try ... and for the life of me I can not figure out how to listen to these.

Help!

Thanks!

Re: Can't figure out how to get the audio teases to play.

Posted: Fri Aug 28, 2020 9:29 am
by tigrotto
Based on what I read here it looks like the problem is with flash.
But you can make it appear if you paste that piece of code in the browser console. I'm doing this on Chrome.
Open the browser console (F12 or Ctrl+Shift+I) and click on the "Console" tab.
Copy and paste the piece of code in comment I linked (or you can find it below in case the comment gets deleted) in the "Console" tab and hit "Enter".
You should see the play button appear in the tease now.
Close the browser console, hit play and have fun.
If this doesn't work there's another piece of code here that should make the play button appear. Just repeat the same steps above and paste the code given there.
I hope it helps.

EDIT:

Code: Select all

document.querySelector("#tease_content .text").innerHTML+='<audio controls style="width:100%"><source src="https://media.milovana.com/timg/'+document.querySelector(".text script").childNodes[0].textContent.match(/[a-f0-9]+\.mp3/)[0]+'" type="audio/mpeg"></audio>'
In case the code above doesn't work try this one:

Code: Select all

var x=document.getElementsByClassName("text")[0];x.innerHTML='<audio controls><source src="https://media'+x.innerHTML.split('media')[1].split('"')[0].replace(/\\/g,'')+'" type="audio/mpeg"></audio>';