bonjour j'aimerai incorporer smil dans une page html
quand je clique sur un bouton alors le son commence.
Comment peut on le faire?
j'ai essayé d incorporer smil dans ma page mais ça en fonctionne pas.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" xmlns:time="urn:schemas-microsoft-com:time" >
 
<head>
<?import namespace="time" implementation="#default#time2">
<style>.time {behavior: url(#default#time2)}</style>
  <tiles:insertAttribute name="htmlHead" />  
</head>
<body>
 
 
                <time:seq>
                                <audio  class="time" src="../toto/New.wma" dur="50.s" />
                                <audio  class="time" src="../toto/New.wma" dur="44.71s"/>
      </time:seq>
</body>
</html>