Sound not working in 27.1.2 (Windows 10?)

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
pmBill

Sound not working in 27.1.2 (Windows 10?)

Unread post by pmBill » 2017-03-18, 05:49

When I upgraded to 27.1.? or thereabouts, sound stopped auto-playing in Pale Moon.
It could be a Windows 10 issue, since I haven't tried it since I got my new computer.

It always worked before (Win 7), and still works in most recent Firefox, Opera, & Google Chrome.
(and MS Edge -- is that the new Internet Explorer?)

This is the code: (I've used it for years now)

Code: Select all

<embed src="success.wav"
   autostart="true" loop="false" hidden="true" height=1 width=1 name="audioembed1" id="audioembed1">
<noembed>
<bgsound src="success.wav" loop=1 height=1 width=1 name="audiobgsound1" id="audiobgsound1">
</noembed>
Here is one of the sites where it doesn't work.

http://www.behold-the-rage.com/

pmBill

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by pmBill » 2017-03-20, 19:11

Hello??

(why does a message need at least 15 characters?)

half-moon

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by half-moon » 2017-03-20, 20:09

Sound works fine for me in Pale Moon.

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by Tomaso » 2017-03-20, 22:04

pmBill wrote:Here is one of the sites where it doesn't work.

http://www.behold-the-rage.com/
Confirmed.
SeaMonkey plays a sound after loading that page, but Pale Moon doesn't.
For me, it doesn't work with older Pale Moon versions either.
Intentionally perhaps?

User avatar
Nigaikaze
Board Warrior
Board Warrior
Posts: 1322
Joined: 2014-02-02, 22:15
Location: Chicagoland

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by Nigaikaze » 2017-03-20, 22:09

Tomaso wrote:
pmBill wrote:Here is one of the sites where it doesn't work.

http://www.behold-the-rage.com/
Confirmed.
SeaMonkey plays a sound after loading that page, but Pale Moon doesn't.
For me, it doesn't work with older Pale Moon versions either.
Interestingly enough, the sound does play for me on that page in Pale Moon. PM 27.2.0 x64 on Linux Mint 17.3.
Nichi nichi kore ko jitsu = Every day is a good day.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35479
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by Moonchild » 2017-03-20, 22:12

<embed> requires a plugin to work. So perhaps you had a media player plugin installed previously that would accept "wav" as source (vlc or quicktime perhaps?)
<bgsound> is a proprietary MSIE tag.

What you want is <audio>
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by Tomaso » 2017-03-20, 22:25

Moonchild wrote:perhaps you had a media player plugin installed previously that would accept "wav" as source
I've got the same plugins installed in both SeaMonkey and Pale Moon, which only are Flash and Silverlight.
The sound plays in SeaMonkey, but not in Pale Moon.

--
Moonchild wrote:<audio>
Yeah, at least, PM plays that horse.ogg file just fine! :)

pmBill

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by pmBill » 2017-03-22, 14:28

I did a lot of research back in the day, pre-HTML 5, and this was the way to do it for cross-browser compatibility.
bgsound is for Internet Explorer.
My plugins for Firefox and Pale Moon are the same.

It's pretty odd that it plays for every other major browser and not Pale Moon.

And I KNOW it works in Windows 7.

(and apparently one instance of *nix as someone mentioned above)

Going through and changing ALL of my references to the HTML 5 audio tag would be a HUGE pain in the ass.
(and WAV is not supported in IE, although I suppose I would just use the bgsound)

And the audio tag is not supported 'browser-globally' until 'recently', which is why I didn't use it.

pmBill

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by pmBill » 2017-03-22, 14:30

half-moon wrote:Sound works fine for me in Pale Moon.
What OS??

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by Tomaso » 2017-03-22, 16:03

The problem is not limited to Win10, because I'm running Win8.1Pro,x64.

half-moon

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by half-moon » 2017-03-22, 17:40

pmBill wrote:
half-moon wrote:Sound works fine for me in Pale Moon.
What OS??
I can play sound on Windows 7 just fine. Does sound not work for you at all, or just on a specific website?


pmBill

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by pmBill » 2017-03-22, 19:04

Just where I use this code, which is on many pages on several websites.
My Pale Moon also works on my laptop in Windows 7.

pmBill

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by pmBill » 2017-03-22, 19:09

JustOff wrote:https://github.com/MoonchildProductions ... n/pull/974 should fix this problem.
Does that mean it might work in the next release of PM?

JustOff

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by JustOff » 2017-03-22, 19:38

pmBill wrote:Does that mean it might work in the next release of PM?
I hope so. You can test this on {{LINK REMOVED}}

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by Tomaso » 2017-03-22, 21:13

JustOff wrote:You can test this on {{LINK REMOVED}}.
Sorry, but it still doesn't work.

JustOff

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by JustOff » 2017-03-23, 12:39

Tomaso wrote:Sorry, but it still doesn't work.
Hmm, it works for me. Could someone else check this? pmBill?

pmBill

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by pmBill » 2017-03-26, 20:47

How is this going to affect my Pale Moon browser?

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by Tomaso » 2017-03-27, 04:57

pmBill wrote:How is this going to affect my Pale Moon browser?
The version that JustOff linked to is a portable build.
Just extract it and launch Palemoon-Portable.exe.
It will run independently, without interfering with your installed version.

New Tobin Paradigm

Re: Sound not working in 27.1.2 (Windows 10?)

Unread post by New Tobin Paradigm » 2017-03-27, 05:05

JustOff, why are you posting unauthorized private builds on the forum where anyone can get at them and using GitHub as your own personal public dropbox?

Locked