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:
parent
25e34f6f35
commit
adaf63670a
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue