Sound in notpron levels

Moderators: Jay2k1, DavidM, amh

Post Reply
User avatar
Jay2k1
Administrator
Posts: 251
Joined: 18-03-2005 06:43
Contact:

Sound in notpron levels

Post by Jay2k1 »

Hi,

as some of you already noticed, the levels now play sound :o

In fact, they were always meant to play sound, using the <bgsound> HTML element. This was problematic because it's a non-standard element invented by Microsoft which was only supported by Internet Explorer. Firefox was able to play bgsound using a plugin, but this was all very unsatisfying. Some people probably didn't know or didn't care enough and played notpron without sound.

I went through all the levels and replaced all <bgsound> elements by the cross-compatible, modern HTML5 element <audio>. Now you can play notpron with sound in any modern browser, without plugins! :J

I'm stuck in this level for hours and the sound is driving me crazy!
You can always mute a tab by clicking the sound icon in it:

Image

Chrome users have it harder - apparently, clicking that icon in Chrome does not work out-of-the-box, you have to right-click the tab and select "mute tab" instead. If you want to be able to click the speaker, you can actually make Chrome do that:
Copy paste this address into your URL bar chrome://flags/#enable-tab-audio-muting, press Enter and click "Enable", then restart Chrome.

Image

Enjoy!
Jay
cybermerlo
Junior Member
Posts: 2
Joined: 03-03-2016 15:05

Re: Sound in notpron levels

Post by cybermerlo »

Good to know. Thank you!

I was working on minus 21 when I noticed that something was wrong with the code (i was soo familiar with the bgsound tag).
So I started to check if that had something to do with the solution of the level but then I realized every level's tags were changed!

So....still stuck there! :D
Knutson
Junior Member
Posts: 1
Joined: 02-08-2017 10:00

Re: Sound in notpron levels

Post by Knutson »

cybermerlo wrote:Good to know that the Best Skin Lightening Creams work well. Thank you!

I was working on minus 21 when I noticed that something was wrong with the code (i was soo familiar with the bgsound tag).
So I started to check if that had something to do with the solution of the level but then I realized every level's tags were changed!

So....still stuck there! :D
Same here Merlo.
Last edited by Knutson on 23-07-2020 19:30, edited 2 times in total.
User avatar
amh
Moderator
Posts: 1734
Joined: 25-10-2014 00:08
Location: Washington state, USA

Re: Sound in notpron levels

Post by amh »

If you need guidance you can PM me.
User avatar
DiMono
Posts: 11
Joined: 25-03-2005 07:33
Contact:

Re: Sound in notpron levels

Post by DiMono »

I am not hearing any audio in Firefox or Chrome. IE has it though.
User avatar
amh
Moderator
Posts: 1734
Joined: 25-10-2014 00:08
Location: Washington state, USA

Re: Sound in notpron levels

Post by amh »

DiMono wrote:I am not hearing any audio in Firefox or Chrome. IE has it though.
sound works for me in both Firefox and Chrome
Stonecross
Junior Member
Posts: 1
Joined: 29-03-2019 01:48

Re: Sound in notpron levels

Post by Stonecross »

actually firefox is now blocking the automatic sound and asking for permission.

just click at the "i" at the left of the url and u'll see "permissions".
User avatar
amh
Moderator
Posts: 1734
Joined: 25-10-2014 00:08
Location: Washington state, USA

Re: Sound in notpron levels

Post by amh »

Stonecross wrote:actually firefox is now blocking the automatic sound and asking for permission.

just click at the "i" at the left of the url and u'll see "permissions".
Curious. Sound still works fine for me and I just updated FireFox...
Nader46
Junior Member
Posts: 13
Joined: 20-05-2017 13:34
Location: Grand Rapids, Michigan

Re: Sound in notpron levels

Post by Nader46 »

I keep my firefox up to date, too. And there is no sound. IE has it, tho. Something's not right.
Nader46
Junior Member
Posts: 13
Joined: 20-05-2017 13:34
Location: Grand Rapids, Michigan

Re: Sound in notpron levels

Post by Nader46 »

Nevermind. I had to unblock the sound like Stonecross said.
User avatar
amh
Moderator
Posts: 1734
Joined: 25-10-2014 00:08
Location: Washington state, USA

Re: Sound in notpron levels

Post by amh »

Good to know!
MishuAnubis
Junior Member
Posts: 8
Joined: 22-04-2020 22:59

Re: Sound in notpron levels

Post by MishuAnubis »

i dont like sound levels so much
User avatar
SoftGLOW
Junior Member
Posts: 14
Joined: 15-04-2020 11:23
Location: Bordeaux, France

Re: Sound in notpron levels

Post by SoftGLOW »

MishuAnubis wrote: 23-04-2020 09:12 i dont like sound levels so much
you just need to get comfortable with the basics of couple of tools and the sound levels are actually a lot of fun
User avatar
AlessaMason
Certified Finisher
Posts: 76
Joined: 26-04-2020 02:04

Re: Sound in notpron levels

Post by AlessaMason »

MishuAnubis wrote: 23-04-2020 09:12 i dont like sound levels so much
You and me both.
stephenyangjin
Junior Member
Posts: 4
Joined: 28-04-2020 02:28

Re: Sound in notpron levels

Post by stephenyangjin »

Wait it keeps on stopping when there's supposed to be audio...

edit: oof nevermind I just accidentally disabled it
Post Reply