Commit 11035e57 authored by liujiaxin's avatar liujiaxin

add video cover

parent e0de268a
......@@ -6,7 +6,7 @@
[style.background-image]="hasVideo ? '' : 'url(assets/player/video-not-upload.jpg)'"
>
<video *ngIf="hasVideo"
<video
[src]="data.contentObj.video_url"
width="100%" height="100%"
#videoNode (click)="playVideo()">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment