调用flv播放器代码

samool 发布2 条评论8712 阅读

AI摘要

文章介绍了一个可用的flv播放器,提供了下载地址,并说明了如何将播放器放入网站根目录以及在sablog后台添加swf动画地址。播放器支持自动缓存和快进后退功能。文章还提供了程序中调用该播放器的代码示例。

找了很久,终于找了一个可用的啦,可以直接当成swf文件来插入即可。

首先将播放器放到网站根目录,播放器下载:flvplay.rar

在sablog后台添加swf动画地址
http://samool.com/flvplay.swf?vcastr_file=http://samool.com/flv/xiaopap4month.flv

红色部分为flv文件的地址,前面为播放器的地址。

该播放器支持自动缓存,可以快进后退,挺好的。

另外如果是程序,可以插入以下代码调用

<embed height="400" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://samool.com/flvplay.swf?vcastr_file=http://samool.com/flv/xiaopap4month.flv" type="application/x-shockwave-flash" width="480"></embed></object>

  1. 01SaMDeditor V2.4 更新内容2026-12-02
  2. 02恭喜《轻武爱学习》小程序备案成功!2026-11-24
  3. 03SaView 图阅 1.1.1 更新日志2026-11-18
  4. 04Book2EPUB 1.0.4 更新日志2026-11-18
  5. 05SaView 图阅 一款轻便纯粹的看图工具2026-11-16
  6. 06免费工具Book2EPUB:轻松将电子书转换为 EPUB2026-11-11
  7. 07SaBlog2026 主题功能介绍(v1.1.36)2026-10-26
  8. 08PHP2Shell 重大安全漏洞事件深度分析报告2026-10-23
  9. 09LiteLLM v1.106.0 更新内容总结2026-10-20
  10. 10AI Native 受控软件工程2026-10-12
COMMENTS / 一纸留言

读者留言 2 条

一纸留言,便是山水间的一次相逢。

还没有留言,欢迎写下第一段交流。

WRITE A COMMENT

写下你的留言