+ 1

Why My Audio or Images are not supporting in my code?

I'm trying to add an audio clip and a pic in my code but it is not working . It is showing when I'm inserting a url for image but when I'm opening it after saving it is not working.

11th Aug 2020, 5:07 AM
Shivam Singh Yadav
Shivam Singh Yadav - avatar
7 ответов
+ 7
Try it <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <audio controls> <source src="https://mobcup.net/d/x59v5a9t/mp3" type="audio/mpeg"> </audio> </body> </html>
11th Aug 2020, 7:21 AM
‎‎‎Prateek Singh
‎‎‎Prateek Singh - avatar
+ 3
Make sure you've specified the src attribute of the image file well. Also make sure your image is in the same folder as your html document for simplicity.
11th Aug 2020, 5:16 AM
Takudzwa Nelson Chiutaalenga
Takudzwa Nelson Chiutaalenga - avatar
+ 3
Attached your code link in description.. Then only we can find mistakes.
11th Aug 2020, 5:25 AM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar
+ 3
Shivam Singh Yadav your url link is wrong.. download audio file and upload to cloud then paste that link.. url link ends with .mp3 these type links play without errors
11th Aug 2020, 5:42 AM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar
11th Aug 2020, 5:36 AM
Shivam Singh Yadav
Shivam Singh Yadav - avatar
0
Plz have a look at it
11th Aug 2020, 5:36 AM
Shivam Singh Yadav
Shivam Singh Yadav - avatar
0
Thanks bro for ur suggestion
11th Aug 2020, 10:35 AM
Shivam Singh Yadav
Shivam Singh Yadav - avatar