+ 1

Why is it that if I insert audio it will not play? If I insert image it will not show the image I inserted?

And if I insert video it will not play? Who can tell me please??

10th Jul 2022, 8:00 PM
Tope Odunlami
Tope Odunlami - avatar
9 Antworten
+ 1
We cant import local files to sololearn, you can try with diferent app if you need to, for sololearn use dropbox or some other cloud site, to upload your video or image,and than use url to set as path. If you type this on pc, or inside other app on phone, image will work, but only if image is placed in same directory (folder) as html file. Video source is invalid it is just some numbers without file extension (.mp4, .ogg) so it cant work. Here is more about relative path: https://www.w3schools.com/html/html_filepaths.asp And about accepted file formats: https://www.w3schools.com/html/html_media.asp
11th Jul 2022, 3:19 PM
PanicS
PanicS - avatar
+ 2
Send us your code you wrote as example that we can see which Methode you used.
10th Jul 2022, 8:11 PM
Felix Alcor
Felix Alcor - avatar
+ 2
Can you post your code so we can see
10th Jul 2022, 8:13 PM
PanicS
PanicS - avatar
+ 2
Tope Odunlami Look at the third and forth answers sorted per Date. 😅
12th Jul 2022, 2:50 PM
Felix Alcor
Felix Alcor - avatar
+ 1
<video controls autoplay loop> <source src="1657384797593"> </video>
11th Jul 2022, 2:46 PM
Tope Odunlami
Tope Odunlami - avatar
+ 1
<audio controls> <source src = "audio.mp3" type="audio/mpeg"> <source src = " audio.ogg" type="audio/ogg"> </audio> Note; This is for 2 audios if you put one just write one time n then tag close
12th Jul 2022, 8:31 AM
mina rauf
mina rauf - avatar
0
<html> <head> <title>eid mubarak</title> </head> <body> <img src="sallah.jpg" alt=""/> </body> </html>
11th Jul 2022, 2:53 PM
Tope Odunlami
Tope Odunlami - avatar
0
Thanks 😀✋👍
11th Jul 2022, 3:56 PM
Tope Odunlami
Tope Odunlami - avatar
0
Post the code
12th Jul 2022, 2:48 PM
AYOBAMI OLUWASEYI
AYOBAMI OLUWASEYI - avatar