Page 1 of 1

HTML5 Audio/Sound Effects Example

Posted: Sat Mar 25, 2017 10:55 am
by gshearne
Hi,
Can anyone tell me if audio is working in HTML5? And if so does anyone have any code examples i could use. I read some old threads that indicated it was not implemented but I thought/hoped perhaps that had changed.

I have tested a simple stack on 8.13 and 9.0 dp 2 and 9.0 dp 6 with no success (actually my stack wont run at all under 9.0 dp 6).
Thanks
Greg

Re: HTML5 Audio/Sound Effects Example

Posted: Sun Mar 26, 2017 11:53 pm
by [-hh]
gshearne wrote:Can anyone tell me if audio is working in HTML5?
TMHO, the answer is
NO from ordinary LCScript, as you tested, but
MAY BE by using do as javascript (didn't try until now).

Re: HTML5 Audio/Sound Effects Example

Posted: Mon Mar 27, 2017 11:34 pm
by gshearne
Thanks. I will try that.

Re: HTML5 Audio/Sound Effects Example

Posted: Sat Jul 08, 2017 11:46 am
by [-hh]
In May 2017 a LC-lesson appeared to that (uses a player in the webpage by javascript):
http://lessons.livecode.com/m/4071/l/74 ... s-in-html5

For a video example see the source of
http://hyperhh.de/html5/video-funHTML5- ... -4hhX.html
together with the stack (replace "hhX.html" with ".zip").