提交 3b8b13dc 作者: 王进

修改录屏接口

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