threads-api icon indicating copy to clipboard operation
threads-api copied to clipboard

Threads Video Rendering Issue

Open sf2288 opened this issue 2 years ago • 3 comments

Hi guys, Hi, I want to render Videos in HTML "video" tag from Threads App in my Next.js App, but I am getting a "CORS error". Although, It works in the Browser directly. Any solution or any workaround to this?

FYI, The Images are working fine. Only the issue is with Videos.

Thanks.

sf2288 avatar Jul 21 '23 16:07 sf2288

The only way around CORS is a proxy server

aleclarson avatar Jul 22 '23 20:07 aleclarson

@aleclarson I looked into it, but didn't help much, Can you please elaborate on it or send me some examples that show how to render/play Threads Video in my Next.js app? I am still confused, as to why Threads Images are getting displayed but not the Video (.mp4) link in the Video tag.

sf2288 avatar Jul 24 '23 11:07 sf2288

ChatGPT should be able to advise you on it 👍

aleclarson avatar Jul 24 '23 14:07 aleclarson