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

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?

Related

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

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.

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.

Playing local mp4 in browser (chrome)

Just trying out some very basic playing around with HTML5 video, and I can't seem to get the most simple of things working, getting a local mp4 to play in my browser.
I tried an mp4 I had myself but then thought the file might be the problem so now I am literally just trying to play this video in Chrome. I've downloaded it, and I know the path is correct because I've dragged it right into the browser. However, it just displays a black box with the play button greyed out.
What's going on here?

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.