...
|
...
|
@@ -30,12 +30,13 @@ |
30
|
30
|
playUrl.value = null;
|
31
|
31
|
options.value = null;
|
32
|
32
|
setModalProps({ loading: true, loadingTip: '视频加载中...' });
|
33
|
|
- const { url, type } = await record.getPlayUrl();
|
|
33
|
+ const { url, type, withToken } = await record.getPlayUrl();
|
34
|
34
|
playUrl.value = url;
|
35
|
35
|
options.value = record;
|
36
|
36
|
options.value.playerProps = {
|
37
|
37
|
...(options.value?.playerProps || {}),
|
38
|
38
|
streamType: type,
|
|
39
|
+ withToken: withToken,
|
39
|
40
|
};
|
40
|
41
|
} catch (error) {
|
41
|
42
|
} finally {
|
...
|
...
|
|