2018-05-02 00:05:36 +00:00
|
|
|
<div class="play-video-icon {className || ''}">
|
2019-03-03 03:02:06 +00:00
|
|
|
<SvgIcon className="play-video-icon-svg" href="#fa-play-circle" />
|
2018-03-10 19:28:30 +00:00
|
|
|
</div>
|
|
|
|
<style>
|
|
|
|
.play-video-icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
z-index: 40;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2019-03-03 03:02:06 +00:00
|
|
|
:global(.play-video-icon-svg) {
|
2018-03-10 19:28:30 +00:00
|
|
|
width: 72px;
|
|
|
|
height: 72px;
|
|
|
|
fill: var(--mask-svg-fill);
|
|
|
|
border-radius: 100%;
|
|
|
|
background: var(--mask-opaque-bg);
|
|
|
|
}
|
2018-04-30 16:57:49 +00:00
|
|
|
</style>
|
|
|
|
<script>
|
2019-03-03 03:02:06 +00:00
|
|
|
import SvgIcon from './SvgIcon.html'
|
|
|
|
|
2018-04-30 16:57:49 +00:00
|
|
|
export default {
|
|
|
|
data: () => ({
|
2019-08-20 02:08:59 +00:00
|
|
|
className: undefined
|
2019-03-03 03:02:06 +00:00
|
|
|
}),
|
|
|
|
components: {
|
|
|
|
SvgIcon
|
|
|
|
}
|
2018-04-30 16:57:49 +00:00
|
|
|
}
|
2019-03-03 03:02:06 +00:00
|
|
|
</script>
|