The HTML code is the following:
Code: Select all
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>test</title>
</head>
<body>
<div style="margin: 50px; padding: 20px; text-align: center; background:yellow;">
<audio src="/usr/lib/libreoffice/share/gallery/sounds/applause.wav" controls></audio>
</div>
</body>
</html>
Code: Select all
$ uname -a
Linux myhostname 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ lspci -v | grep -A 6 'Audio'
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1494
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at fe720000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
--
01:00.1 Audio device: ATI Technologies Inc Device aa90
Subsystem: PC Partner Limited Device aa90
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fe640000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel