我想将YouTube链接作为原始数据发布

我想以原始数据形式发布 YouTube 链接,但响应为空。如果任何人遇到此类问题,请提供帮助。
我使用的是 posts.json API,并发送如下数据:
url = … + “posts.json”
type = post
raw = “https://www.youtube.com/watch?v=pIAQV0u72iI
topic_id = 10;

1 个赞

If you want the Youtube URL to be displayed as a URL on the frontend (and not be converted to a video onebox), you can try posting the URL within backticks, i.e. the posted raw data should look like this:

raw: "`https://youtube.com/video-url`"
1 个赞

this response like this

YouTube


but i want to play video type
1 个赞

hi i want to post youtube link via posts.json api after post this link is ready to play video if possible then please help me.