Sound in Wordpress


#1

Hello there, has any one else had any problems getting audio to play in Wordpress? the html file itself plays the audio fine, but theres only sound once embedded in Internet Explorer and no other browser, i’ve put in an mp3, ogg and wav but unfortunately it doesn’t seem to work. Anyone else experiencing this?


#2

Can you share a link? Haven’t heard of this issue (I don’t think Wordpress is the issue – you might be hitting this problem relating to htaccess issues).


#3

Yeah, Ok here we go - http://ncbf.tlmultimedia.co.uk/soundtest/ so the bit that I’m testing sound on is the goose, upon pressing the goose it makes a sound as it does here - http://goo.gl/VDJIFj

please ignore the fact that both breakpoint for ipad and iphone aren’t working properly, havent finished with making them work!


(Mark Hunte) #4

When I look at the console after clicking the goose (Safari) I get the error:

> [Error] XMLHttpRequest cannot load http://www.northernchildrensbookfestival.org.uk/widgets/ncbfballoon.hyperesources/honktimed.mp3?. Origin http://ncbf.tlmultimedia.co.uk is not allowed by Access-Control-Allow-Origin. (soundtest, line 0)

I am no expert but that looks like a cross domain violation.

Are you trying to load the file from the other site…?


#5

Yeah it just that its being built in temporary place before moving it over (soon!) onto its actual domain, but am uploading the content files via ftp on the proper domain so they are already in the place they will be finally, it does look like that might be causing problems…


#6

That solve did indeed fix this problem Mark, it all works now its transferred over, thank you for pointing that out!