@using System.Text.Json
@using Dpz.Core.EnumLibrary
@using Microsoft.AspNetCore.Mvc.TagHelpers
@model VmVideo
@{
var data = new {id = Model.Id, url = $"https://cdn.dpangzi.com/Video/{Model.Title}/1080p.m3u8"};
}
<div class="blog-container">
<div class="blog-main">
<blockquote class="layui-elem-quote sitemap layui-breadcrumb shadow">
<a href="/" title="网站首页" data-pjax>网站首页</a>
<a data-pjax asp-action="Index">视频</a>
<a>
<cite></cite>@Model.SubTitle
</a>
</blockquote>
<div class="video-watch">
<h3 class="video-title">@Model.VideoTitle</h3>
<div data-watch-video="@JsonSerializer.Serialize(data)"></div>
<div class="video-desc">
<p>@Model.Description</p>
</div>
<partial name="_GlobalCommentPartial" model="(CommentNode.Video,Model.Id)"/>
</div>
</div>
</div>