default header

Games

Music on Insomnia

Moderator: JC Denton

Music on Insomnia

Unread postby icycalm » 20 Sep 2012 18:45

Can you guys help me troubleshoot this page for music functionality:

http://culture.vg/archive/series/serious-sam.html

The track should begin playing immediately the page has loaded. I have tested this in Chrome and it works. In Firefox, it doesn't -- and I downloaded the latest version for this reason. In Safari, Opera and Explorer I have no idea.

Please note that I am only interested in getting this to work with the latest versions of each browser, so if you have older versions update them before you report your results.

The other question is whether it's more elegant to have the track endlessly loop over (as now), or to simply play once and stop. Let me know what you think about that too.
User avatar
icycalm
Hyperborean
 
Joined: 28 Mar 2006 00:08
Location: Tenerife, Canary Islands

Unread postby immersedreality » 20 Sep 2012 19:48

It seems to work fine in Safari 6.0. I think having it loop endlessly is fine, but an unobtrusive pause/play toggle couldn't hurt.

One thing you may want to consider is having the links to the various reviews open up new tabs in the browser as opposed to leaving the archive page. That way the song will continue to play from the loaded archive page as you read the reviews.
User avatar
immersedreality
 
Joined: 26 Feb 2011 00:19
Location: New York City

Unread postby shubn » 20 Sep 2012 20:42

Firefox apparently doesn't support MP3, and neither does Opera. And even though they do support OGG, IE and Safari don't. What you could do is add the song as an OGG file, then write your audio tag like this, and the browser should choose which one it can/wants to play:

Code: Select all
<audio id="audio1" loop="loop" autoplay="autoplay" autobuffer="">
   <source src="/wimpy/Serious Sam 3: BFE (2011, PC) - Hero - icy's pick.mp3" type='audio/mpeg; codecs="mp3"'>
   <source src="/wimpy/Serious Sam 3: BFE (2011, PC) - Hero - icy's pick.ogg" type='audio/ogg; codecs="vorbis"'>
</audio>


Or you could embed a small flash player like dewplayer or whatever, those play MP3 files fine.

Letting it loop is fine, but I'm more concerned with the fact that it starts playing automatically when the page loads, and that there's no way to stop or mute it. Whenever I encounter a page like this I have to go through adblock to block the file manually.

p.s. The picture links to thatgamecompany's website.
User avatar
shubn
 
Joined: 10 Jan 2012 03:17
Location: France

Unread postby ingolfr » 20 Sep 2012 21:54

I'm running Chrome and the song plays automatically.
User avatar
ingolfr
 
Joined: 09 Mar 2011 14:00

Unread postby El Chaos » 20 Sep 2012 22:16

Works alright on Internet Explorer 9.0.9.
User avatar
El Chaos
Insomnia Staff
 
Joined: 26 Jan 2009 20:34
Location: Buenos Aires, Argentina

Unread postby SriK » 21 Sep 2012 03:33

Seems to work fine for me with Internet Explorer 9.0.9 as well (and Firefox 15.0.1). Looping would be good, but personally I'd prefer to have something like this as optional (maybe a Flash player below the picture with the title of the song and pause/play controls, similar to how the Insomnia Mix page works?) rather than autoplay as soon as the page starts without any warning or way to stop it.
User avatar
SriK
 
Joined: 05 Nov 2011 15:12


Return to Games