Home  >  Q&A  >  body text

javascript - How to solve the problem of playing non-video links on ios on WeChat

Such video links cannot be played on ios devices. My analysis should be that the WKWebview kernel cannot obtain the real video address through such links. The current idea is to use js to obtain the real address of the video and then assign it to the video tag. But how should the specific implementation method be

我想大声告诉你我想大声告诉你2669 days ago624

reply all(1)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-06-05 11:12:25

    The backend is made into an API form and called by the front end, because direct calls from the front end should be cross-domain

    The backend has given the data. You can just assign the value to the video src directly in the frontend

    reply
    0
  • Cancelreply