使用 flash-player 在 HTML 中嵌入 MP4

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1000851/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-28 23:54:32  来源:igfitidea点击:

Embed MP4 in HTML using flash-player

htmlflashmp4

提问by Kjensen

Can I embed MP4-files streaming using a flash-player? I find several places it is mentioned, but some places also mention that flash-10 might be a requirement, it might now work well for streaming etc...

我可以使用 Flash 播放器嵌入 MP4 文件流吗?我发现有几个地方提到了它,但有些地方还提到 flash-10 可能是必需的,它现在可能适用于流媒体等...

Are there any limitations I should be aware of - and which embeddable flash-player works well?

是否有任何我应该注意的限制 - 哪个嵌入式 Flash 播放器运行良好?

采纳答案by TJL

Yes you can. Flash 9.0.115 is required.

是的你可以。需要 Flash 9.0.115。

Flowplayeris my favourite. Free and opensource.

Flowplayer是我的最爱。免费和开源。

回答by Rob

MP4 files need to be encoded or fixed using a utility or server code to be fast start - the header information at the beginning of the file rather than the end.

MP4 文件需要使用实用程序或服务器代码进行编码或修复才能快速启动 - 文件开头而不是结尾的标题信息。

回答by Web Designers in Kalamazoo

The program to move the metadata to the front of the file is here: http://rndware.info/products/metadata-mover.html

将元数据移动到文件前面的程序在这里:http: //rndware.info/products/metadata-mover.html

回答by Eswar Rajesh Pinapala

Use Video.Js .. http://videojs.com/.. The best Html5 Video player.

使用 Video.Js .. http://videojs.com/.. 最好的 Html5 视频播放器。

回答by Brent Matzelle

Here are a couple of players:

这里有几个玩家:

  • MediaElement: Supports HTML5 and Flash (automatically, if browser needs it). Free and works well for basic configurations. Warning: This project has A LOTof open issues so if your configuration is having problems you're out of luck
  • f4player: It one of the smallest available at only 10kb and free under the GPL license. It supports flv, f4v, mp4, stream and live stream. It has not been updated in a while though.
  • Video.js: Don't let the super lame project name fool you. This project is awesome and the best supported of the options. We've been using it on production software for years with no issues. This is your best bet.
  • MediaElement:支持 HTML5 和 Flash(自动,如果浏览器需要它)。免费且适用于基本配置。警告:这个项目有很多未解决的问题,所以如果你的配置有问题,你就不走运了
  • f4player:它是最小的之一,只有 10kb 并且在 GPL 许可下免费。它支持 flv、f4v、mp4、流和实时流。不过好久没更新了。
  • Video.js:不要让超级蹩脚的项目名称欺骗您。这个项目很棒,并且是选项中最好的支持。我们多年来一直在生产软件上使用它,没有出现任何问题。这是你最好的选择。

回答by NL_Derek

FlashFox works well and is very small. See https://code.google.com/p/flashfox/

FlashFox 运行良好,而且非常小。请参阅https://code.google.com/p/flashfox/

Download from http://flashfox.googlecode.com/svn/trunk/and find usage information on http://v4e.thewikies.com/. You need to provide a full URL for the video, even if it's local.

http://flashfox.googlecode.com/svn/trunk/下载并在http://v4e.thewikies.com/上查找使用信息。您需要提供视频的完整 URL,即使它是本地的。

回答by Piseth Sok

I think this also helpfull with video on website: Jwplayer

我认为这对网站上的视频也有帮助:Jwplayer

www.longtailvideo.com/players/jw-flv-player/

www.longtailvideo.com/players/jw-flv-player/

回答by JohnDoe66

I know also a great video player who supported MP4, Flv and MP4 format: it's KAWA Player -> http://monmoulin.fr/kawa_player_video_flash.html

我还知道一个支持 MP4、Flv 和 MP4 格式的出色视频播放器:它是 KAWA Player -> http://monmoulin.fr/kawa_player_video_flash.html

Of course, it's totally free!

当然,它是完全免费的!

回答by Adhav

here's an open source player

这是一个开源播放器

http://hdflvplayer.net/

http://hdflvplayer.net/

for supporting MP4 videos and more amazing features!

支持 MP4 视频和更多惊人的功能!