fix: wrong attribute name (#6191)

This commit is contained in:
Laam Pui 2020-11-20 06:40:55 +08:00 committed by GitHub
parent 36eb48d730
commit 3c6695ac55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ const ProcessFeed = async (list, cache) => {
let description = '';
if ('video_info' in __INITIAL_STATE__.articleDetail.articleDetail) {
description += `<video height="100%" cover="${__INITIAL_STATE__.articleDetail.articleDetail.video_info.cover}" controls src="${__INITIAL_STATE__.articleDetail.articleDetail.video_info.hd_link}"></video>`;
description += `<video height="100%" poster="${__INITIAL_STATE__.articleDetail.articleDetail.video_info.cover}" controls src="${__INITIAL_STATE__.articleDetail.articleDetail.video_info.hd_link}"></video>`;
}
if ($('.top-img').html() !== null) {
description += $('.top-img').html();