首页 \ 问答 \ 是否有可能在flash播放器中播放iis7上托管的流畅视频流?(Is it possible to play in flash player a smooth streaming video hosted on the iis7?)

是否有可能在flash播放器中播放iis7上托管的流畅视频流?(Is it possible to play in flash player a smooth streaming video hosted on the iis7?)

我想使用flash视频播放器(例如jw flash player而不是silverlight播放器)播放来自IIS的流畅视频流? 在这种情况下我应该使用哪种视频格式? 然后可以通过使用微软编码器编码的平滑条纹来播放例如视频吗? 你知道一些替代视频播放器,它结合了flash和silverlight功能(按照java脚本选择)与flash和silverlight一起使用吗?


I want to play smooth streaming video from IIS using the flash video player like e.g. jw flash player instead of silverlight player? Which video format should I use in this case? Can flash then play e.g a video via smooth streming encoded with microsoft encoder? Do you know some alternative video players, that combines flash and silverlight functionality (selected per java script) to use with flash and silverlight?


原文:https://stackoverflow.com/questions/6312310
更新时间:2022-01-13 14:01

最满意答案

它是面向对象的 - 现在是99%的代码。

如果你看一下CakePHP 2.x的源代码,你会看到如下例子:

class Controller extends Object implements CakeEventListener {

这意味着Controller类扩展了Object类并实现了CakeEventListener接口。

阅读http://php.net/manual/en/language.oop5.php可能很有用,这样你就可以了解PHP中的面向对象编码


It is Object Oriented - as is 99% of code nowadays.

If you take a look at the source code of CakePHP 2.x you will see examples such as:

class Controller extends Object implements CakeEventListener {

Meaning the Controller class extends the Object class and implements the CakeEventListener interface.

It would probably be useful to read through http://php.net/manual/en/language.oop5.php so you can get an understanding of what Object Oriented coding in PHP looks like

相关问答

更多
  • .java文件的OO设计看起来很棒。 如果这是你的意图,XML对于制作保存的文件是个好主意。 我不会在Archer.java的构造函数中解析整个事情 - 这似乎相当武断。 我建议一个专门用于处理已保存文件的单独类。 至于XML与数据库,它取决于您打算如何使用保存的数据。 如果您阅读整篇文章或立即全部写完,那么两者都可能是合适的。 将XML文件保存到SD卡可以轻松共享已保存的游戏。 如果您预见到只更改部分以保存和恢复活动游戏的状态,那么您应该使用数据库,因为使用XML时,您每次都必须重写整个文件。 请记住,在 ...
  • 看一下Interpreter和Factory Method模式。 Take a look at the Interpreter, and the Factory Method patterns.
  • JSON-RPC是JSON远程过程调用,默认情况下是面向过程的。 但是,如果您在HTTP上工作,则可以将每个RPC服务视为对象。 即如果您通过HTTP访问/foo/bar并通过JSON-RPC调用beep ,则调用bar对象的foo服务的beep方法。 否则,您可以按照过程调用映射的所有OOP的方式执行此操作: foo.bar(x1,x2) -> bar(foo,x1,x2) 其中foo是对象的“指针”,对于RPC,它可能是对象UUID。 (这就是在某些RPCS中实际完成的方式)。 所以你打电话 f=n ...
  • 无论您是想从头开始还是尝试重写,它实际上完全取决于您。 两者都有其优点和缺点。 一旦你理解了OOP的基础知识,它就非常容易实现,我发现我更喜欢OOP而不是结构化。 这是一个转换为OOP的简单结构化程序的示例:结构化: Class Foo { public static DoSomething() { return true; } } 要实现这一点,我们会说: main() { Foo f; f = Foo.DoSomething(); } ...
  • 问题是赋予你的任务具有功能性。 当然,您的解决方案转向功能性解决方案,远离顶部所需的人工面向对象。 您可以将解决方案放在像教师要求的“真正的”面向对象的服装中(将变量放入课堂中),但在我看来并不自然。 The problem is that the assignment that was given to you is of a functional nature. Naturally, your solution steered towards a functional solution and away ...
  • 它是面向对象的 - 现在是99%的代码。 如果你看一下CakePHP 2.x的源代码,你会看到如下例子: class Controller extends Object implements CakeEventListener { 这意味着Controller类扩展了Object类并实现了CakeEventListener接口。 阅读http://php.net/manual/en/language.oop5.php可能很有用,这样你就可以了解PHP中的面向对象编码 It is Object Orient ...
  • 问题很可能与您使用冗余变量并在不同时刻访问其中一个或另一个有关。 你的Enemy类有x,y,width和height的变量,但它也有一个矩形的变量,它有自己的x,y,width和height。 你的Enemy构造函数在矩形上设置初始大小,但是getWidth和getHeight方法引用了这些的非矩形版本,它们仍然是零,所以你要绘制零大小的精灵。 您需要删除矩形或删除位置和大小变量。 如果删除矩形,请确保同时删除enemyY变量上的static关键字! 编辑:保留矩形功能的备用解决方案: public cla ...
  • 是的,您绝对可以使用UML与其他方法进行建模,例如用例图或acitivity图绝不会与OOP绑定。 Yes, you can definitely use UML for modeling with other approaches, for example the use case diagram or acitivity diagram are in no way bound to OOP.
  • 在C中,标准方法是声明初始化器宏: #define SERIAL_INITIALIZER { .init = init, .open = open, /* and others */ } Serial serial = SERIAL_INITIALIZER; 在C的大多数情况下,根本不需要动态初始化变量。 你只需要它用于malloc ed对象。 In C, the standard way would be to declare an initializer macro: #define SERIAL_ ...
  • 我会建议如下: 通过浏览无框架PHP MVC框架 (不介意代码)来理解MVC的基础。 使用像Symfony这样的大名称框架测试MVC,以查看“最佳实践”。 他们的文档和代码值得花时间。 实验。 I'll suggest the following: Understand the underpinnings of an MVC by skimming thru The no-framework PHP MVC framework (don't mind the code). Test MVC with a b ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)