如何在单声道中嵌入闪存

如何在单声道中嵌入闪存

本文介绍了如何在单声道中嵌入闪存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有可能在单声道应用中嵌入闪光灯?

最好是将它作为一个ActiveX控件嵌入到.Net中,但是某些方面flash命令可能会向Mono应用程序冒泡。很好。

我曾经假设可以使用网络浏览器来查看Flash,但我无法确定如何将Flash插件安装到WebBrowser控件,因为我已经通过RPM安装了Flash插件,并且在Mono.Mozilla.WebBrowser控件中没有安装Flash。



我应该补充一点,在Linux上运行...

解决方案

您可以使用NPAPI原生地托管Flash插件,但是这是一项很多工作和很多代码。这里是。基本上你必须实现Flash所期望的整个Netscape一半的API。您可以查看源代码,了解如何处理大部分代码。



这不是一个简单的任务,有很多无证的怪癖和许多陷阱。如果你走这条路,至少要计划一两个月的工作。但是,Webkit存在证明是可能的。

Is it possible to embed flash in a mono Application?

Preferably would be similar to the way it can be embedded as an ActiveX control in .Net, but anything where somehow the flash commands could bubble up to the Mono application would be fine.

I had assumed that it would be possible to use the web browser to see flash, however I cannot determine how to install the flash plug-in into the WebBrowser control, as I have installed the Flash plug-in via RPM and flash isn't installed in the Mono.Mozilla.WebBrowser control.

I should probably add that the application will be running on Linux...

解决方案

You can host the Flash plugin natively using the NPAPI, however it is a lot of work and a lot of code. Here is the Gecko Plugin API Reference. Basically you have to implement the entire Netscape half of the API that Flash expects. You can look at the Webkit source code to see how to handle most of it.

This is not a simple task, there are lots of undocumented quirks and lots of gotchas along the way. Plan for at least a month or two of work if you go down this path. It is possible, however, as there is the Webkit existence proof.

这篇关于如何在单声道中嵌入闪存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 08:56