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

希望可以增加 audio 和 video 标签 #223

Closed
parasolwaddledee opened this issue Dec 22, 2022 · 5 comments
Closed

希望可以增加 audio 和 video 标签 #223

parasolwaddledee opened this issue Dec 22, 2022 · 5 comments
Labels
resolved 问题得以解决 todo

Comments

@parasolwaddledee
Copy link

如题,使用方法和 image 类似的标签

@xaoxuu xaoxuu added the todo label Dec 25, 2022
@github-actions
Copy link

👋 Hello,
Your suggestion is great, we will add this feature in subsequent versions, thank you very much!

👋 您好,
您的建议很棒,我们将会在后续版本中加入这个功能,非常感谢!

@shaoyaoqian
Copy link
Contributor

shaoyaoqian commented Jan 13, 2023

audio video 可以使用 fancybox ,@xaoxuu 你觉得怎么样?

<a href="//player.bilibili.com/player.html?aid=480162801&bvid=BV1SM411F7hh&cid=961443267&page=1"
  data-fancybox="zwqxwmzu1dk"
  data-type="iframe"
  data-width="1200"
  data-height="800">
  <div style="position:relative;background:#fff;width:600px;height:400px;">
    <img src="https://api.vlts.cc/screenshot?url=https://www.bilibili.com/video/BV1SM411F7hh/&width=1280&height=720" />
    <div style="position:absolute;left:50%;top:50%;margin:-25px -25px 0 -25px;">
        <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="50" height="50" viewBox="0 0 16 31" style=" background: #ccc">
            <path
                d="M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z">
            </path>
        </svg>
      </div>
</div>

image

image

@xaoxuu
Copy link
Owner

xaoxuu commented Jan 27, 2023

@shaoyaoqian 会做一个简单的标签,这种复杂嵌套的就算了,会增加后期维护成本,并且这个效果本身也有点怪怪的。

@xaoxuu xaoxuu added the resolved 问题得以解决 label Jan 12, 2024
Copy link

👋 Hello,
This issue has been marked as resolved. If there are other issues, please contact us with a new issue.

👋 您好,
此 issue 已经被标记为已解决,如果还有其它问题,请提出新的 issue 联系我们。

@xaoxuu
Copy link
Owner

xaoxuu commented Jan 12, 2024

最新版已经实现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved 问题得以解决 todo
Projects
None yet
Development

No branches or pull requests

3 participants