无法在Facebook Workspace Bot中以全屏模式播放视频

时间:2019-02-14 13:01:02

标签: chatbot facebook-messenger facebook-messenger-bot facebook-chatbot

我正在使用this documentation将视频发送到Messenger。 该视频正在聊天窗口中显示并正常播放,但是当我尝试全屏显示时,显示以下错误。

enter image description here

  

但是,它在聊天窗口中可以正常播放

enter image description here

我正在从后端发送此JSON响应

{
    "recipient": {
        "id": recipient
    },
    "message": {
        "attachment": {
            "type": "template",
            "payload": {
                "template_type": "media",
                "elements": [
                    {
                        "media_type": "video",
                        "url": "https://searcedemo.facebook.com/me/videos/" + str(workplace_id),
                        "buttons": [
                            {
                                "type": "postback",
                                "title": "Mark as completed",
                                "payload": str(workplace_id)
                            }
                        ]
                    }
                ]
            }
        }
    }
}

“我的视频已上传到工作组,我正在使用video_id访问该视频,并在响应中传递该URL。”

0 个答案:

没有答案