how to hide music href in player? - html

I'm using jplayer on my website but I have only one player on top which plays each mp3 on the page (like deezer). That's why I'm using demo04, as I want to display the current song playing and I want to add mp3 on the fly (maybe is it possible in an other way?).
I can add music to the player with a simple link, for example :
The Separation
So my problem is coming from the demo which doesn't prevent downloading tracks (right click>save target as) and I need this functionality.
In a few words, is it possible to hide the href or crypt it?

No this is not possible.
You can encrypt the name, but an encryption always has a decryption.
Also if you look at search result of Google you will find:
How to prevent downloading images and video files from my website?

No, it's not possible.
You can make it hard for users. But you can't stop it.

Related

Customize Wowza player interface

Is it possible if we modify the interface of the wowza player? like adding some elements like image or some real time interaction such as texts from chat system
Based on https://www.wowza.com/docs/getting-started-with-wowza-player#create-a-custom-wowza-player-with-wowza-player-builder, there are a small set of features that be customized by modifying the embedded <script> tag.
Regarding image addition, you can add images at the beginning and end of a video via the posterFrameURL and endPosterFrameURL keys.
Regarding text addition, you can also add a title and description (via similarly named keys), but there's nothing out-of-the-box for realtime text addition/insertion.

Hide audiolinks from public

I'm creating a mediaplayer in my website using html5 audio.
I'm struggling with not allowing the users to download my audiofile. The problem is not in my webpage, as I can simply use the controlslist to disable download. The problem is, if someone gets the link to the source on my server, and opens it in a new tab in chrome, then they have a download-button in the chrome audioplayer.
How can I remove this option? I can not allow the users to download the audiofiles.
Edit:
Or maybe the best way to go around this is to use the javascript Audio-class? Then I won't expose the sourceurl. What do you think? Any downsides/upsides choosing one of them?

Use an m3u/xspf playlist when an mp3 stream goes offline

I'm running a radio station that has two streams - a main one and another one, backup one. However, I'm not quite sure how to use the on-error tag to switch from .mp3 to .m3u. Any solutions?
Site code, for reference if needed click here

Custom 1-button player with HTML5 audio tag

Working with the <audio> tag in some web development I've been doing lately, and one thing I'm trying to do is use it to build a word list and provide a pronunciation sample next to each word on the list. Setting this up isn't hard at all, however this sort of application hardly requires the full set of controls; just a play button.
The controls element of the <audio> tag doesn't seem to be that well documented at all, however; all I can find on it is "always put 'on' here, unless you want to build your own player". I don't want to build my own player, however, I just want a simple, 1-button play interface with nothing else, ideally without requiring JavaScript or Flash.
It's fairly simple. You just need to call the play method on the audio DOM object when something is clicked. The something could be an image, text, link, or whatever suits.
Here's one possible way:
<a onclick="this.firstChild.play()"><audio src=".."></audio></a>
See an example

Open Window that has been put in tab or other options?

I'm hoping that someone may be able to help me out.
My Home page (Home.html) has a link to a mp3player located at (mp3.html)
On the mp3player page there is a link back to Home.html
If the user clicks on the link to the Mp3 player I would like for the music to continue to play even if the link to home.html is pressed.
What I would like to avoid is having multiple tabs from being opened if the user would re-click one of these links.
Also I would like to have the appropriate page to open when it's link is pressed instead of being locked in a tab and not displaying.
The mp3 player isn't affected by being refreshed.
I would prefer not to have different tabs open if at all possible.
This really got me stumped. I've tried different things out only to either be stuck choosing a tab or loosing the music from playing.
Thank you.
You can program your site with AJAX, so index page won't be reloaded but supplemented by content loaded be demand - Google Mail is a good example. Not a task for beginner, though.
You can use HTML frames (see examples) and load index and player at the same time in one tab. Very easy and may fit your needs, but makes your site harder to link to.
I'd go with the AJAX version as well, it's a nicer user experience. If there's a player somewhere in another tab, that's pretty annoying for the user to find if he wants to turn it off or change a track. Check out the Sixtyone and how they're solving the problem.