Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
83d8af34
Commit
83d8af34
authored
Jan 15, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2c198f3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
index.vue
components/videopage/index.vue
+18
-2
No files found.
components/videopage/index.vue
View file @
83d8af34
<
template
>
<div
class=
"video-box"
>
<video
:src=
"video.url"
style=
"width:100%;height:100%;"
:poster=
"video.pic_url"
></video>
<div
class=
"video-box"
:style=
"
{
'background-image': 'url(' + (video.backgroundimage ? video.backgroundimage : '') + ')', backgroundSize: '100% 100%'
}">
<view
class=
"video-xbox"
:style=
"
{
'paddingLeft':video.left+'px',
'paddingRight':video.right+'px',
'paddingTop':video.top+'px',
'paddingBottom':video.bottom+'px',
}">
<video
:src=
"video.url"
:style=
"
{'width':'100%','height':'100%','border-radius':video.radius+'px'}" :poster="video.pic_url" :show-fullscreen-btn='video.isfullscreen'>
</video>
</view>
</div>
</
template
>
...
...
@@ -16,4 +27,9 @@ export default {
height
:
60vw
;
background
:
#333
;
}
.video-xbox
{
width
:
100%
;
height
:
100%
;
}
</
style
>
\ No newline at end of file
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