简体   繁体   English

从rtmp URL播放html视频

[英]Playing html video from rtmp URL

I am trying to play a video in a page and I have following parameters 我正在尝试在页面中播放视频,并且具有以下参数

URL=rtmp://192.168.0.10/live
and a SWF http://192.168.0.11/file.swf?v=3

can anyone guide me on how to pass the rtmp to the tag 谁能指导我如何将rtmp传递给标签

If your SWF file is made by you, you can use the ExternalInterface AS3 class to provide bi-directional JavaScript communication. 如果您创建的是SWF文件,则可以使用ExternalInterface AS3类提供双向JavaScript通信。 This will require modifications of your SWF file, however. 但是,这将需要修改SWF文件。

If you cannot do this, you'll need to ask your SWF provider to tell you how to do so. 如果您无法执行此操作,则需要让您的SWF提供者告诉您如何执行此操作。

If that's still out of the question, you could consider switching to a third-party player (jwplayer, flowplayer etc). 如果仍然无法解决问题,则可以考虑切换到第三方播放器(jwplayer,flowplayer等)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM