hexo-tag-dplayer icon indicating copy to clipboard operation
hexo-tag-dplayer copied to clipboard

设置宽高后,手机端显示有问题

Open yansheng836 opened this issue 6 years ago • 1 comments

没有设置宽高,手机端正常

{% dplayer "url=https://oss.yansheng.xyz/video/Let%20Her%20Go-J.Fla.mp4" 
"loop=yes" "theme=#FADFA3" "autoplay=false"%}

image

设置宽高后,超屏,即仍然按照电脑端进行显示

{% dplayer "url=https://oss.yansheng.xyz/video/Let%20Her%20Go-J.Fla.mp4" 
"loop=yes" "theme=#FADFA3" "autoplay=false" "width=854px" "height=480px" %}

image

注:

  1. 使用主题:https://github.com/litten/hexo-theme-yilia
  2. 该问题好像在issues中有提及,see https://github.com/MoePlayer/hexo-tag-dplayer/issues/3

yansheng836 avatar Feb 06 '20 15:02 yansheng836

设置宽高会定义成行内元素,即使在主题的样式中进行相关约束好像也控制不了

image

yansheng836 avatar Feb 06 '20 15:02 yansheng836