未验证 提交 bac1fd67 编写于 作者: Z zengyawen 提交者: Gitee

update zh-cn/application-dev/media/video-playback.md.

Signed-off-by: Nzengyawen <zengyawen1@huawei.com>
上级 72da82c0
...@@ -116,7 +116,7 @@ export class VideoPlayerDemo { ...@@ -116,7 +116,7 @@ export class VideoPlayerDemo {
console.info('pause success'); console.info('pause success');
}, this.failureCallback).catch(this.catchCallback); }, this.failureCallback).catch(this.catchCallback);
// 通过promise回调方式获取视频轨道信息ommunication_dsoftbus // 通过promise回调方式获取视频轨道信息communication_dsoftbus
let arrayDescription; let arrayDescription;
await videoPlayer.getTrackDescription().then((arrlist) => { await videoPlayer.getTrackDescription().then((arrlist) => {
if (typeof (arrlist) != 'undefined') { if (typeof (arrlist) != 'undefined') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册