+ 7
Can we add audio inside an svg <rect> graphic . please send code thanks
html
12 odpowiedzi
+ 1
It is impossible to do this using built-in tags cuz <rect> and <video> belongs to different namespaces.
+ 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
+ 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..
+ 5
Yesh Jadav I don't understand
+ 5
I will explain you but required some time to research
+ 4
Yesh Jadav can u send code ☺
+ 3
Hans Larry please help here
+ 3
thanks Hans Larry LAWArthur
+ 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>
+ 3
yes you can do
+ 3
OK Yesh Jadav but I can't try it now. thanks
+ 2
i will come to know you within 2 days.