search

Home  >  Q&A  >  body text

javascript - How to automatically play video video in react

My approach is to replace the video with a picture mask. Click on the mask to trigger dispatch an action, so that the mask disappears and the video label appears, but Apple. If neither mobile phone nor Android can play the video automatically, you still need to click the play button of the video to play it. The effect is not very good. Is there any solution? Does not depend on other video libraries. Thanks!

仅有的幸福仅有的幸福2717 days ago1251

reply all(2)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-07-05 11:05:35

    You can refer to here http://www.icafebolger.com/re...

    reply
    0
  • 習慣沉默

    習慣沉默2017-07-05 11:05:35

    The mobile terminal cannot automatically play. You need to manually or code to trigger the play button once.

    reply
    0
  • Cancelreply