Can an SVG contain audio using javascript?

前端 未结 2 1937
时光说笑
时光说笑 2021-02-15 02:34

I have an SVG with some basic javascript interactivity, and I would love to be able to put some audio into it as well.

To clarify:

  • This is for an SVG that
2条回答
  •  [愿得一人]
    2021-02-15 03:25

    There are SVG

    A solution that will work most places except IE 9/10 would be to use a element with an html element as a child.

    I don't think there's a good answer if you need IE9/10 support as it doesn't support

提交回复
热议问题