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 3456206f
authored
Sep 20, 2023
by
Tianqing Liu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 优化组件属性
1 parent
6b7f5c2c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
h5/src/components/vionPlayer/index.vue
h5/src/components/vionPlayer/index.vue
View file @
3456206
...
@@ -9,18 +9,10 @@ import { getWatermarkCanvasImg } from './utils';
...
@@ -9,18 +9,10 @@ import { getWatermarkCanvasImg } from './utils';
export
default
{
export
default
{
name
:
'VionPlayer'
,
name
:
'VionPlayer'
,
props
:
{
props
:
{
type
:
{
type
:
String
,
default
:
'live'
,
// playback
},
playUrl
:
{
playUrl
:
{
type
:
String
,
type
:
String
,
default
:
''
,
// 若配置,则播放器加载后,自动播放
default
:
''
,
// 若配置,则播放器加载后,自动播放
},
},
datetimeRange
:
{
type
:
Array
,
default
:
null
,
},
watermarkText
:
{
watermarkText
:
{
type
:
String
,
type
:
String
,
default
:
''
,
default
:
''
,
...
@@ -208,6 +200,8 @@ export default {
...
@@ -208,6 +200,8 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.vion-player
{
.vion-player
{
height
:
100%
;
widows
:
100%
;
background-color
:
rgba
(
13
,
14
,
27
,
0.7
);
background-color
:
rgba
(
13
,
14
,
27
,
0.7
);
}
}
</
style
>
</
style
>
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