PC Pals Forum
Technical Help & Discussion => Website Design & Programming => Topic started by: sam on January 19, 2011, 04:15
-
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
-
:stars:
-
its the future!
-
I'm more the past, Sam. :)
-
boo.
-
It's the pantomime season. ;D
-
Oh no it isn't. :basil:
-
Oh yes it is. ;D
-
what have I started?
-
The fun and games. Pass the tangerines. ;D
-
:laugh:
-
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:
-
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.
-
Dead brill! Bookmarked, thanks. 8-)