+ 19
How I display song in html? What src of audio in mobile? Using in mobile, without laptop.
14 Answers
+ 9
Use this below tag in html
<audio src="path of song" controls="autoplay" >
</audio>
Write controls="autoplay" for controlling various operations like
1) increase/decrease volume
2) rewind/forward 30 seconds etc.
Hope this is helpful for you
+ 4
It doesn't depend on what you are using mobile or laptop. Simply upload the audio in dropbox or drive extract the link and use it in audio src
+ 3
<audio src=
controls>
</audio>
+ 3
But audio src in mobile?? I mean link...
+ 2
How can I make app through this
+ 2
<audio src="past path of song" controls >
</audio>
+ 1
<!--A simple exemple might help-->
<audio src="http://dl-905b730b.mp3pro.xyz/d4154b835a58571a78cda/Immortals%20-%20Fall%20Out%20Boy.mp3" controls >
</audio>
<!--you can use from your phone too. But you have to get the access. -->
0
Use <audio src="link"> , <vidio src="link">
0
You can get link from internet.
If it in your memory, you can upload it in any site such as Google drive, Facebook, Instagram then copy link and use.
0
how we link to drive for audio or video
0
For mobile value of sec like-
src="file:///sdcard/DCIM/au.mp3"
Or
file:///storage/emulated/0/DCIM/au.mp3
file:///sdcard/ and file:///storage/emulated/0/ are same in all phone remaining part is according to path of file.
How!