Chrome starts to display instead of downloading when click a video link - html

I have a simple question and I don't have a clue that how to achieve that.
When I click a video link even I add a download attribute, Chrome always show video instead of downloading it.
How can I force it to download video or other file types that display on Chrome by default?
Thanks.
Update
In Chrome, you can use Alt+Click to force downloading.
But anyway, I need a way that provide simply click to trigger download instead of playing it and if that way work on every browser that will be the best.

Related

Is it possible to play sound in chrome when text is found?

Is there a code in chrome that I can use whenever a specific text is found, it will play a sound or show an alert warning?

Hide Properly Download Button

I have an audio playing site and I want to prevent the users from downloading the sounds
from the HTML audio element download button. So I wrote:
<audio src="sound.mp3" controls controlsList="nodownload"></audio>
It works fine but I can delete the controlsList="nodownload" from inspect element and then
the download-button appears.
Any ideas of how to deal with it?
You cannot stop a user from downloading a file if you give him access to. When the user is reading the audio file on his computer, the computer is actually downloading the file in his RAM while playing it. Nothing can prevent the user from simply storing this data in his hard-drive.
The only way to stop the user from being able to download the file is by not letting him play it.
You can use DRM-wrapped content on the web. Here is a list of the web browsers supporting DRM content.
Everything you hear or you see on your browser is downloaded from different sources. How browser can write some text or play music if its protected by server/by you? Even if browser protect all these things from you for example if theres no way to download Rihannas new song from SoundCloud, you can allways record it. Sorry, but you can do nothing about that.

YouTube iframe embed showinfo not working in chrome but working in IE and FF

This isn't even an issue specific to a site I'm trying to make, as you can go to https://developers.google.com/youtube/youtube_player_demo to replicate the issue.
Simply play the standard video without changing any options, and then untick the showinfo setting to try and remove the title, play the video again with the updated setting, and the title is still there.
Any way to fix this?

HTML5 - How can I play an audio file multiple times (replay) on a mobile browser?

So I was recently trying to learn html5 stuff and got to the audio tag. It seems to work just fine on my PC's browser, Chrome, but not so much on my android (4.0, using both the stock browser and dolphin). It will play the audio once, but never again. Take this site for example:
http://www.stefanvignir.de/rimshot/
Very basic, it has a button that plays audio every time you press it, but not on my android. It only plays the first time you press it. How do you get around this? Just wait for mobile browsers to update?
I heard a workaround is to set audio.currentTime = 0; but that didn't seem to solve anything.
Apparently you can reset the source (audio.src = audio.src) and that will allow you to play it more than once, but it has to re-download the file. A workaround, I guess, but not acceptable.
Any suggestions? Thanks.
this works in desktop and andriod browsers for multiple presses - and you can wrap in a div etc for styling:
<a onclick="this.firstChild.play()"><audio src="1.mp3"></audio>play</a>
More than just the audio tag so you have more control over what the play button looks like. If you need more buttons you can change the code for pause etc

HTML5 Audio Tag in Safari

I have a question about the tag in Safari. I have a page with many audio players on it and have set preload="none" so that page loads faster. In all other browsers, there is no text inside the player, but Safari (5.1.7, Mac) shows the text "Loading..." in the player. I personally don't mind it, but I know it will confuse users who think they should be waiting for something to download and may never click the play button.
Is there a way to set that text to something else, or even better, hide it completely?
Any help is appreciated!
Thanks,
Brett
As far as I know, this is something that Safari does by default and can't be changed. However, you could use some sort of jQuery HTML5 player and add a function to display the "loading" text only when the audio is buffering.