videoDetail.pug 479 Bytes
extends layouts/main

block content
    .video__player
        video(src=`/${video.fileUrl}`)
    .video__info
        a(href=routes.editVideo(video.id)) Edit video
        h5.video__title=video.title
        span.video__views=video.views
        p.video__description=video.description
    .video__comment
        if video.comments.length === 1
            span.video__comment-number 1 comment
        else
            span.video__comment-number #{video.comments.length} comments