Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果video标签有height:auto 视频无法显示 #411

Closed
redmangame opened this issue Mar 10, 2022 · 0 comments
Closed

如果video标签有height:auto 视频无法显示 #411

redmangame opened this issue Mar 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@redmangame
Copy link

redmangame commented Mar 10, 2022

问题描述

数据是根据api返回的
html内容:

测试视频播放&nbsp;<div class="html5-video" data-responsive="true" style="text-align: center;">
<video classx="at" autoplay="autoplay" controls="controls" controlslist="nodownload" loop="loop" src="http://127.0.0.1/test.mp4" style="max-width: 100%; height: auto;"></video>
</div>哟哟<br>切克闹

这样的话 视频是无法显示的。如果去掉video的标签的样式height: auto;就正常了

请问有什么办法解决吗 用过tagStyle没有效果

@jin-yufeng jin-yufeng added the bug Something isn't working label Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants