How I display song in html? What src of audio in mobile? Using in mobile, without laptop. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 19

How I display song in html? What src of audio in mobile? Using in mobile, without laptop.

13th May 2020, 4:09 AM
Nikhat Shah
Nikhat Shah - avatar
12 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
14th May 2020, 8:36 AM
YASH SHAH
YASH SHAH - avatar
13th May 2020, 4:42 AM
Kulanga Kaushani
Kulanga Kaushani - avatar
+ 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
13th May 2020, 1:51 PM
Mehnaz ✨
Mehnaz ✨ - avatar
+ 3
<audio src= controls> </audio>
13th May 2020, 4:28 AM
Sentimiento Perico
Sentimiento Perico - avatar
+ 3
But audio src in mobile?? I mean link...
13th May 2020, 4:41 AM
Nikhat Shah
Nikhat Shah - avatar
+ 2
How can I make app through this
13th May 2020, 8:11 AM
Shamira Khatun
Shamira Khatun - avatar
+ 2
<audio src="past path of song" controls > </audio>
14th May 2020, 8:58 AM
Shahid Gul
Shahid Gul - avatar
+ 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. -->
13th May 2020, 10:59 AM
Absolute Zero ϟ
Absolute Zero ϟ - avatar
0
Use <audio src="link"> , <vidio src="link">
14th May 2020, 4:42 PM
Md. Aktaruzzaman Talukdar
Md. Aktaruzzaman Talukdar - avatar
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.
14th May 2020, 5:21 PM
Mohsin Uddin
Mohsin Uddin - avatar
0
how we link to drive for audio or video
14th May 2020, 6:46 PM
Amelye L Mhagama
Amelye L Mhagama - avatar
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!
14th May 2020, 6:48 PM
Amelye L Mhagama
Amelye L Mhagama - avatar