fix(thepaper): thepaper video cannot playback in fullscreen correctly (#10908)

* 1. fix timezone shift 2. add podcast for voice article 3.use list icon for list feed 4. category support

* extract logo using cheerio

* fix the fallback logo image on list feed

* fix the deepscan insufficient null checking

* add support for album type article

* video playback not working correctly on weixin
This commit is contained in:
Felix Hsu 2022-09-26 21:12:18 +08:00 committed by GitHub
parent 25e34f6f35
commit adaf63670a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 5 deletions

View File

@ -1,6 +1,13 @@
<video class="cont_video"
<video
src="{{ videos.url }}"
controls webkit-playsinline="" playsinline="" x5-playsinline=""
x-webkit-airplay="allow" preload="metadata"
poster="{{ videos.coverUrl}}" >
</video>
controls
playsinline="true"
webkit-playsinline="true"
x5-playsinline="true"
x5-video-player-type="h5"
x5-video-orientation="landscape|portrait"
x5-video-player-fullscreen="true"
x-webkit-airplay="allow"
preload="metadata"
poster="{{ videos.coverUrl}}"
></video>

View File

@ -33,6 +33,8 @@ module.exports = {
if (contentDetail.videos) {
description =
art(path.join(__dirname, 'templates/video_detail.art'), {
// see https://nanmu.me/zh-cn/posts/2020/strange-html-video-tag-behavior-in-wechat/
// for video tag details
videos: contentDetail.videos,
}) + description;
}