kv79 Posted March 22, 2008 Share Posted March 22, 2008 Hi , i would like to play a music on my site but i do not know why is not working this code . <style type="text/css">{cue-before: url("Ribljo.au") }</style> Thank you for your l1f3 t1m3. Link to comment Share on other sites More sharing options...
Ingolme Posted March 22, 2008 Share Posted March 22, 2008 For one, you're not applying that CSS code to any element in the page, and secondly, I might be wrong but I haven't heard of the "cue-before" property. Link to comment Share on other sites More sharing options...
kv79 Posted March 22, 2008 Author Share Posted March 22, 2008 Thanks http://www.w3schools.com/css/css_ref_aural.asp there is the property .and if write like thisbody{cue-before: url("Ribljo.au") } Link to comment Share on other sites More sharing options...
shalendar Posted March 22, 2008 Share Posted March 22, 2008 for music on your website, it might be better to embed a flash player like this one: http://musicplayer.sourceforge.net/its just a thought, it might work better then embedded css music. Link to comment Share on other sites More sharing options...
newseed Posted March 22, 2008 Share Posted March 22, 2008 @ kv79 : If you read that link you provided you will find that it is directly used for those that have visual/reading impairment and that screen readers read this css code. Link to comment Share on other sites More sharing options...
kv79 Posted March 22, 2008 Author Share Posted March 22, 2008 Aural presentation can be used: * by blind people * to help users learning to read * to help users who have reading problems * for home entertainment * in the car * by print-impaired communitiesI am a ware that you want to help me . But I used a property code for the background music .And this above has not wrote like this Aural presentation was using : ... Link to comment Share on other sites More sharing options...
Synook Posted March 23, 2008 Share Posted March 23, 2008 But kv9 that property ( a ) will only be activated if the client has a screen reader activated and ( b ) will play, then have all the text in the body read out.Do you still want to use it, or try a Flash alternative? Link to comment Share on other sites More sharing options...
newseed Posted March 23, 2008 Share Posted March 23, 2008 Support for Aural Style Sheets just isn't there...yet and it may be quite some time before all browser support it. Only certain special software supports it such as screen readers which are primarily used by those with visual impairment. This is a good read: Aural CSS Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.