Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
eslotsys-game-nuxt
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
毛线
eslotsys-game-nuxt
Commits
6665bceb
Commit
6665bceb
authored
Jul 31, 2023
by
毛线
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
2e3c52fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
WebRTCPlayer.vue
components/common/WebRTCPlayer.vue
+3
-2
tab.vue
components/dialog/user-dialog/tab.vue
+1
-1
jswebrtc.min.js
utils/jswebrtc.min.js
+1
-1
No files found.
components/common/WebRTCPlayer.vue
View file @
6665bceb
<
template
>
<video
ref=
"jswebrtc"
:controls=
"!videoPlay"
style=
"width: 100%;height: 100%;object-fit: fill;"
playsinline
@
click=
"(e) => handler().click(e)"
/>
<video
ref=
"jswebrtc"
style=
"width: 100%;height: 100%;object-fit: fill;"
playsinline
@
click=
"(e) => handler().click(e)"
/>
</
template
>
<
script
>
...
...
@@ -35,7 +35,8 @@ export default {
this
.
$refs
.
jswebrtc
.
volume
=
this
.
volumeMachine
/
100
},
videoPlay
()
{
this
.
$refs
.
jswebrtc
.
play
()
// this.$refs.jswebrtc.play()
this
.
$refs
.
jswebrtc
.
muted
=
false
},
},
mounted
()
{
...
...
components/dialog/user-dialog/tab.vue
View file @
6665bceb
...
...
@@ -5,7 +5,7 @@
<img
v-if=
"tabIndex === index"
class=
"tab-img"
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/Rounded%20Rectangle%2019.png"
alt=
""
>
<img
v-else
class=
"tab-img"
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/last_game%20%E6%8B%B7%E8%B4%9D%202.png"
alt=
""
>
<div
class=
"text"
>
{{
text
}}
</div>
<div
v-if=
"index === 0"
class=
"version"
>
{{
`1.0.00
7
`
}}
</div>
<div
v-if=
"index === 0"
class=
"version"
>
{{
`1.0.00
8
`
}}
</div>
</div>
</div>
</div>
...
...
utils/jswebrtc.min.js
View file @
6665bceb
...
...
@@ -245,7 +245,7 @@ JSWebrtc.Player = function() {
this
.
autoplay
=
!!
options
.
autoplay
||
false
;
this
.
paused
=
true
;
if
(
this
.
autoplay
)
this
.
options
.
video
.
muted
=
fals
e
;
this
.
options
.
video
.
muted
=
tru
e
;
this
.
startLoading
()
};
Player
.
prototype
.
startLoading
=
function
()
{
...
...
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