How to render videos in PowerPoint slide in Add-ins using Unsplash API (JavaScript)?

58 Views Asked by At

const btnClickVideo = async (Videourl:any) => {
    console.log("video Onclicked",Videourl)
    const resp = await VideoApi.getVideo(Videourl);
    console.log("clicked in video")
    console.log("video resp", resp);
  };

 <button title="Click" type="button" onClick={() => btnClickVideo(response.link)} >   <video width="150" height="150" controls >

this the code where a try to get resp

0

There are 0 best solutions below