提交 3b8b13dc 作者: 王进

修改录屏接口

上级 50e88a88
......@@ -580,11 +580,14 @@ class TTSDK {
const _self = this;
try {
return new Promise((resolve, reject) => {
console.log(_self.videoPath);
(tt as any).shareVideo({
videoPath: _self.videoPath,
console.log('@@视频本地地址', _self.videoPath);
(tt as any).shareAppMessage({
channel: 'video',
query: 'fromOpenId=' + _self.ReportParams.openId + '&from=sharetoutiao&tag=0&' + (videoInfo.query ? videoInfo.query : ''),
title: videoInfo.title,
extra: {
videoPath: _self.videoPath
},
success: function () {
console.log("分享视频成功...");
resolve(1);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论