Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
蒋秀川
/
miniProject
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 07bcdb98
authored
Sep 25, 2023
by
Tianqing Liu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 调整图片压缩率
1 parent
a1fdcce6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
h5/src/components/vionPlayer/index.vue
h5/src/components/vionPlayer/index.vue
View file @
07bcdb9
...
@@ -190,7 +190,7 @@ export default {
...
@@ -190,7 +190,7 @@ export default {
return
Promise
.
resolve
(
true
);
return
Promise
.
resolve
(
true
);
}
}
},
},
screenshot
(
filename
=
''
,
format
=
'
png'
,
quality
=
0.9
2
,
type
=
'base64'
)
{
screenshot
(
filename
=
''
,
format
=
'
jpeg'
,
quality
=
0.
2
,
type
=
'base64'
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
// 如果是播放状态
// 如果是播放状态
const
isPlaying
=
this
.
_jessibuca
.
isPlaying
();
const
isPlaying
=
this
.
_jessibuca
.
isPlaying
();
...
@@ -222,7 +222,7 @@ export default {
...
@@ -222,7 +222,7 @@ export default {
image
.
src
=
this
.
_jessibuca
.
screenshot
(
filename
,
format
,
quality
,
type
);
image
.
src
=
this
.
_jessibuca
.
screenshot
(
filename
,
format
,
quality
,
type
);
});
});
},
},
screenshotOrigin
(
filename
=
''
,
format
=
'
png'
,
quality
=
0.9
2
,
type
=
'base64'
)
{
screenshotOrigin
(
filename
=
''
,
format
=
'
jpeg'
,
quality
=
0.
2
,
type
=
'base64'
)
{
return
this
.
_jessibuca
.
screenshot
(
filename
,
format
,
quality
,
type
);
return
this
.
_jessibuca
.
screenshot
(
filename
,
format
,
quality
,
type
);
}
}
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment