小屏框架
{"app":"com.tencent.gamecenter.gameshare","desc":"","view":"noDataView","ver":"0.0.0.0","prompt":"【聊天界面显示的文字】","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"shareData":{"scene":"SCENE_SHARE_VIDEO","jumpUrl":"https:\/\/attachments-cdn.shimo.im\/2q1Fsatwsa0yCsRk\/mmexport1587785783703.mp4","type":"video","url":"【视频地址】"}},"config":{"forward":1},"text":"","sourceAd":""}
大屏框架
{"app":"com.tencent.gamecenter.gameshare","desc":"","view":"noDataView","ver":"0.0.0.0","prompt":"【聊天界面显示的文字】","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"shareData":{"scene":"SCENE_SHARE_VIDEO","jumpUrl":"https:\/\/attachments-cdn.shimo.im\/iFkb6eYshHHx5fgx.mp4","type":"video","url":"【视频地址】"}},"config":{"forward":1},"config":{"forward":0,"showSender":0}}
小屏带按钮框架
{"app":"com.tencent.gamecenter.gameshare","desc":"","view":"noDataView","ver":"0.0.0.0","prompt":"【聊天界面显示的文字】","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"shareData":{"height":360,"scene":"SCENE_SHARE_VIDEO","buttons":[{"url":"【按钮跳转链接】","text":"【按钮显示的文字】"}],"jumpUrl":"https:\/\/attachments-cdn.shimo.im\/ozL6gi2dwLpsUdA9.mp4","type":"video","url":"【视频地址】"}},"config":{"forward":1},"text":"","extraApps":[],"sourceAd":""}
大屏带按钮框架
{"app":"com.tencent.gamecenter.gameshare","desc":"","view":"noDataView","ver":"0.0.0.0","prompt":"【聊天界面显示的文字】","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"shareData":{"height":360,"scene":"SCENE_SHARE_VIDEO","buttons":[{"url":"【按钮跳转链接】","text":"【按钮显示的文字】"}],"jumpUrl":"","type":"video","url":"http://t.cn/A6APpcLy"}},"config":{"forward":1},"config":{"forward":0},"config":{"showSender":0},"text":"","sourceAd":""}
替换方法:
随便选取一个视频直链(mp4格式)不要超过5MB,
缩短链接为t.cn开头的短链接。
填入代码中的url后即可。
文件直链平台链接:https://www.ffsup.com/
http://up.ly93.cc
在线缩短为t.cn:https://www.mynb8.com/