How to target autoplay attribute in HTML 5 Video element inside modal

后端 未结 4 686
一生所求
一生所求 2021-01-23 23:35

I have a HTML 5 video element inside a modal window. Now I need a check that if modal is opened and video element has autoplay then play the video. If the video does not have th

4条回答
  •  灰色年华
    2021-01-24 00:02

    Please Check this Example I hope It would be helpful

    [1]: https://jsfiddle.net/NbE9d/570/

提交回复
热议问题