Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
uniapp_vedio
Commits
9af139b6
Commit
9af139b6
authored
Nov 13, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
6b6fc4fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
newVideoDetail.vue
vedio/pagesC/video/newVideoDetail.vue
+6
-3
No files found.
vedio/pagesC/video/newVideoDetail.vue
View file @
9af139b6
...
...
@@ -186,7 +186,9 @@
// #endif
this
.
windowWidth
=
uni
.
getSystemInfoSync
().
windowWidth
this
.
windowHeight
=
uni
.
getSystemInfoSync
().
windowHeight
-
this
.
safeArea
-
this
.
ttuop
console
.
log
(
this
.
windowHeight
)
console
.
log
(
this
.
windowHeight
)
this
.
getData
()
},
onShow
()
{
// 从VIP页面返回关闭弹框
...
...
@@ -366,14 +368,15 @@
this
.
oid
=
this
.
originList
.
length
-
1
}
console
.
log
(
'++++++++++++上一条播放数据 Index:'
,
this
.
oid
)
uni
.
createVideoContext
(
''
+
this
.
originList
[
this
.
oid
].
vedioId
,
this
).
stop
();
// uni.createVideoContext('' + this.originList[this.oid].vedioId, this).stop();
uni
.
createVideoContext
(
''
+
this
.
originList
[
this
.
oid
].
vedioId
,
this
).
pause
();
if
(
this
.
originList
[
originIndex
].
lock
)
{
this
.
unlock
(
this
.
originIndex
)
}
else
{
setTimeout
(()
=>
{
// audo.play()
uni
.
createVideoContext
(
''
+
this
.
originList
[
originIndex
].
vedioId
,
this
).
play
();
uni
.
createVideoContext
(
''
+
this
.
originList
[
originIndex
].
vedioId
,
this
).
play
();
this
.
commitVideo
()
},
500
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment