Sponsor for PC Pals Forum

Author Topic: HTML5 Primer: How To Use the Audio Tag  (Read 5944 times)

Offline sam

  • Administrator
  • *****
  • Posts: 19379
HTML5 Primer: How To Use the Audio Tag
« on: January 19, 2011, 04:15 »
Quote
In our series on HTML5, we've discussed geolocation, link relations, form and keyboard events, media events, mouse events, global attributes and multimedia. This week we're going to expand upon our discussion on multimedia and delve further into HTML5's audio tag.

http://www.htmlgoodies.com/primers/html/article.php/3920991
- sam | @starrydude --



Offline Rik

  • Former Admin
  • *****
  • Posts: 26508
  • Ceud mille failte
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #1 on: January 19, 2011, 11:31 »
 :stars:
Slainthe!

Rik

Offline sam

  • Administrator
  • *****
  • Posts: 19379
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #2 on: January 19, 2011, 15:16 »
its the future!
- sam | @starrydude --



Offline Rik

  • Former Admin
  • *****
  • Posts: 26508
  • Ceud mille failte
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #3 on: January 19, 2011, 16:20 »
I'm more the past, Sam. :)
Slainthe!

Rik

Offline sam

  • Administrator
  • *****
  • Posts: 19379
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #4 on: January 19, 2011, 16:43 »
boo.
- sam | @starrydude --



Offline Rik

  • Former Admin
  • *****
  • Posts: 26508
  • Ceud mille failte
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #5 on: January 19, 2011, 16:52 »
It's the pantomime season. ;D
Slainthe!

Rik

Offline Simon

  • Administrator
  • *****
  • Posts: 66036
  • First to score 7/7 in Quiz of The Week's News 2017
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #6 on: January 19, 2011, 17:02 »
Oh no it isn't.  :basil:
Many thanks to all our members, who have made PC Pals such an outstanding success!   :thumb:

Offline Rik

  • Former Admin
  • *****
  • Posts: 26508
  • Ceud mille failte
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #7 on: January 19, 2011, 17:22 »
Oh yes it is. ;D
Slainthe!

Rik

Offline sam

  • Administrator
  • *****
  • Posts: 19379
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #8 on: January 19, 2011, 17:26 »
what have I started?
- sam | @starrydude --



Offline Rik

  • Former Admin
  • *****
  • Posts: 26508
  • Ceud mille failte
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #9 on: January 19, 2011, 17:29 »
The fun and games. Pass the tangerines. ;D
Slainthe!

Rik

Offline Simon

  • Administrator
  • *****
  • Posts: 66036
  • First to score 7/7 in Quiz of The Week's News 2017
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #10 on: January 19, 2011, 17:56 »
:laugh:
Many thanks to all our members, who have made PC Pals such an outstanding success!   :thumb:

Offline Rodders

  • Forum Fanatic
  • ******
  • Posts: 6437
  • Bournemouth: Where even the water is 'ard!
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #11 on: January 19, 2011, 23:42 »
Any idea of the syntax for the 'controls' attribute, Sam?  Is it simply matter of leaving it out of the code if the control isn't required?

Each Christmas I like to have a good quality festive midi toon playing softly in the background on pageload (no-repeat).  Obviously, the appearance of a control bar instead of the desired page would be pretty jolly silly.  It's a shame HTML5 is still quite some way off, as it does indeed appear to represent "the future".  It's also likely to kill me having to manually update 200+ pages from a primordial version of HTML.   :ack:

Offline sam

  • Administrator
  • *****
  • Posts: 19379
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #12 on: January 20, 2011, 00:37 »
Any idea of the syntax for the 'controls' attribute, Sam?  Is it simply matter of leaving it out of the code if the control isn't required?

Each Christmas I like to have a good quality festive midi toon playing softly in the background on pageload (no-repeat).  Obviously, the appearance of a control bar instead of the desired page would be pretty jolly silly.  It's a shame HTML5 is still quite some way off, as it does indeed appear to represent "the future".  It's also likely to kill me having to manually update 200+ pages from a primordial version of HTML.   :ack:


yes, that is the case - have a go at it: http://www.w3schools.com/html5/tryit.asp?filename=tryhtml5_audio_autoplay

Update 200+ - that's what php include helps fantastically with.


- sam | @starrydude --



Offline Rodders

  • Forum Fanatic
  • ******
  • Posts: 6437
  • Bournemouth: Where even the water is 'ard!
Re: HTML5 Primer: How To Use the Audio Tag
« Reply #13 on: January 22, 2011, 01:04 »
Dead brill!  Bookmarked, thanks.   8-)


Show unread posts since last visit.
Sponsor for PC Pals Forum