Audio play (mp3) on webpage, files located outside web directory
$10-30 USD
Terminado
Publicado hace más de 8 años
$10-30 USD
Pagado a la entrega
Task:
What i need from you is the part where an mp3 is called through funcAud() (see below) loaded from a location outside the web directory and played by <audio>.
Info:
I need to be able to have an user (login only) listen to music (mp3) on a website. The content will be loaded through Ajax. Like so:
<script src="./js/[login to view URL]"></script>
<script>
function funcAud(){
$.ajax({
//type: 'POST',
type: 'GET',
url: "/[login to view URL]",
data: { },
success: function(result) {
$("#aud").html(result);
}
});
};
The [login to view URL] is the file that actually loads the song. The thing is that I prefer the mp3's to be located Outside the web directory. Simply because i don't want them to give direct access to the mp3 (for security and data-load reasons).
IF that ain't an option than perhaps you have an other way to handle this, for example hiding the location (mod_rewrite), but it can not be visible in the header (FireBug) or anywhere else and the url probably should be temporary.
Keep in mind that the page offering these mp3s are also accessible for mobile devices.
I am using jquery-1.10.1, so please us the same lib. version.
For test purposes you can use the mp3 on [login to view URL]:
[login to view URL]
Hoi Timmy,
Als ervaren (nederlandstalige) programmeur in het gebied van online media en streaming, wou ik zeker even van me laten horen :-)
Uiteraard bent U bewust van het feite dat alles wat beluisterd kan worden, "ge-ript" kan worden.
Om dit moeilijker te maken is het mogelijk om gebruik te maken van sessions die verdwijnen nadat het <audio> element deze heeft geladen - wat ik me voorstel als de beste implementatie voor Uw project.
Hopelijk kunnen we hierover communiceren :-)
Mvg,
Bas
$30 USD en 3 días
4,9 (34 comentarios)
5,9
5,9
3 freelancers están ofertando un promedio de $47 USD por este trabajo
Dear Sir/ Madam,
Kindly check my bid & project completion ratio before awarding.
I'm really interested to work on this project, I can start the work now , and can provide the best services from my end.
Please come on chat to discuss more about the project.
Thanks & Regards
Prog2U
Hey there, came acrross your requirement, basically what you need is to locate the mp3 outside of the web project file system and be able to call it using an AJAX get request from inside your web project correct?
I have been working on JQuery/Javascript single page applications for quite some time now, will definetly be able to work on this for you.
Hoping we can work together ill wait for your response, greetings.