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

请问内嵌视频如何使用? #16

Open
beyondtop opened this issue Dec 30, 2023 · 4 comments
Open

请问内嵌视频如何使用? #16

beyondtop opened this issue Dec 30, 2023 · 4 comments

Comments

@beyondtop
Copy link

直接将视频地址贴到link好像不起作用?能举个例子说明一下吗?

@FarseaSH
Copy link
Owner

FarseaSH commented Jan 2, 2024

抱歉,回复得比较晚。

我刚稍微修改了一下自定义视频的功能,现在在md front-matter里可以用 video字段指定视频地址(如video: https://vip.ffzyread1.com/20231025/20038_5379a8cb/index.m3u8),对应的Moment就会加入一个视频播放器,点击即可播放插入的视频。

image

视频功能可能还需要进一步测试与优化,如果想使用,麻烦拉一下最新的dev分支。

如果遇到什么问题,或者有什么其它想法,欢迎随时与我取得联系~

@beyondtop
Copy link
Author

非常感谢,已经用上了。就是还要再转化一次地址。

@beyondtop
Copy link
Author

抱歉,回复得比较晚。

我刚稍微修改了一下自定义视频的功能,现在在md front-matter里可以用 video字段指定视频地址(如video: https://vip.ffzyread1.com/20231025/20038_5379a8cb/index.m3u8),对应的Moment就会加入一个视频播放器,点击即可播放插入的视频。

image

视频功能可能还需要进一步测试与优化,如果想使用,麻烦拉一下最新的dev分支。

如果遇到什么问题,或者有什么其它想法,欢迎随时与我取得联系~

https://vip.ffzyread1.com/20231025/20038_5379a8cb/index.m3u8

还想请教下,这样的播放地址是怎么获取的

@FarseaSH
Copy link
Owner

FarseaSH commented Jan 3, 2024

我是用下面这个 chrome 插件来提取网页中的m3u链接~

https://cococut.net/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants