0

how do use a file as a soucre

18th Jul 2016, 4:35 AM
Dragon-codex
Dragon-codex - avatar
4 Antworten
+ 1
If you use an online editor such as the SoloLearn CodeEditor you have to host the file on line and access it from your code by its url. For example you could use dropbox to have the file available online via url.
30th Dec 2016, 5:40 PM
seamiki
seamiki - avatar
0
What kind of file is that?
18th Jul 2016, 6:27 PM
Pradeep :)
Pradeep :) - avatar
0
music file I presume
18th Jul 2016, 6:30 PM
Dragon-codex
Dragon-codex - avatar
0
To include audio files in an HTML document, use the <audio> element. You can write some text to display if the element is not supported by a browser. This text is not displayed if the audio is supported. example: <audio controls> <source src="source1.mp3" type="audio/mpeg"> Your browser does not support audio elements. </audio>
30th Dec 2016, 5:55 PM
Pradeep :)
Pradeep :) - avatar