+ 7

Can we add audio inside an svg <rect> graphic . please send code thanks

html

18th Jul 2018, 5:59 PM
Tochukwu 🇳🇬
Tochukwu 🇳🇬 - avatar
12 odpowiedzi
+ 1
It is impossible to do this using built-in tags cuz <rect> and <video> belongs to different namespaces.
18th Jul 2018, 6:33 PM
LAWArthur
+ 16
praize_NG 🇳🇬 I have never try it and I don't think it is possible to do it because SVG is an XML-based "vector image format for two-dimensional graphics" with support for interactivity and animation. for more info , please try to google or Wikipedia it... https://en.m.wikipedia.org/wiki/Scalable_Vector_Graphics
18th Jul 2018, 6:20 PM
Hans Larry Mba Bekale
Hans Larry Mba Bekale - avatar
+ 6
ppraize_NG 🇳🇬 I think your answer is yes bcz it can be done on the based of XML files (i.e the higher version of html) but it cannot be done in sololearn you may try on PC and open and website playing audio or video where you have press (F12) from keyboard it will show the console where you can see the codes having XML files based on..
22nd Jul 2018, 7:39 AM
Yesh Jadav
Yesh Jadav - avatar
+ 5
Yesh Jadav I don't understand
19th Jul 2018, 6:46 PM
Tochukwu 🇳🇬
Tochukwu 🇳🇬 - avatar
+ 5
I will explain you but required some time to research
19th Jul 2018, 6:56 PM
Yesh Jadav
Yesh Jadav - avatar
+ 4
Yesh Jadav can u send code ☺
19th Jul 2018, 5:15 PM
Tochukwu 🇳🇬
Tochukwu 🇳🇬 - avatar
+ 3
Hans Larry please help here
18th Jul 2018, 6:01 PM
Tochukwu 🇳🇬
Tochukwu 🇳🇬 - avatar
18th Jul 2018, 7:24 PM
Tochukwu 🇳🇬
Tochukwu 🇳🇬 - avatar
+ 3
uuuuhh this is confusing. does the position of the audio element matter? audios are meant to be listened to not read or watched so where it appears might not matter. try positioning the audio on the svg rect element. you cant embed some tags in <svg>
18th Jul 2018, 7:39 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 3
yes you can do
19th Jul 2018, 4:35 PM
Yesh Jadav
Yesh Jadav - avatar
+ 3
OK Yesh Jadav but I can't try it now. thanks
22nd Jul 2018, 11:13 AM
Tochukwu 🇳🇬
Tochukwu 🇳🇬 - avatar
+ 2
i will come to know you within 2 days.
19th Jul 2018, 6:39 PM
Yesh Jadav
Yesh Jadav - avatar