We are currently subscripted to a plan with your API but when we try to download the videos files in the browser with javascript from nwm link returned by your api we receive the following error messages regarding permission
Access to fetch at ‘https://api.tiktokv.com/aweme/v1/play/?video_id=v10044g50000c6iidu3c77ufss5rr9ug&line=0&is_play_url=1&source=PackSourceEnum_AWEME_DETAIL&file_id=8ee65736762d4d96af9156664bb2372b’ from origin ‘https://tiklibrary.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
Únase a la conversación, añada un comentario a continuación:
The video is not supported to open from your website domain directly, you need to download the video on server then embed it to your website.
Find more information about CORS here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin