Flash Player信任文件中未对Linux的嵌入式浏览器的工作 [英] Flash Player trust file not working with Embedded browser on linux

查看:268
本文介绍了Flash Player信任文件中未对Linux的嵌入式浏览器的工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个嵌入基于浏览器的XULRunner应用程序。我必须加载在这个浏览器的一些Flash内容。在一定的时间点闪光改变我的网址和页面标题,以反映在flash文件,其中我在的位置。当我把在/我的信任文件等/ FlashPlayerTrust的文件夹为我要信任的目录和SWF文件条目这在Firefox浏览器的罚款。(根据Flash安全指南<一个href=\"http://www.adobe.com/devnet/flashplayer/articles/flash_player_admin_guide/flash_player_admin_guide.pdf\" rel=\"nofollow\">http://www.adobe.com/devnet/flashplayer/articles/flash_player_admin_guide/flash_player_admin_guide.pdf全局信任文件应在相同的水平,其中包含mms.cfg文件的目录)。

I have an application which embeds a xulrunner based browser. I have to load some flash content in this browser. At certain points of time the flash changes my URL and Page Title to reflect the location in the flash file where I am at. This works fine in a firefox browser when I place my trust file at /etc/FlashPlayerTrust folder with entries for the directory and the swf file I want to trust.( according to the Flash security guide http://www.adobe.com/devnet/flashplayer/articles/flash_player_admin_guide/flash_player_admin_guide.pdf the global trust file should be at the same level as the directory which contains the mms.cfg file).

但是,当我从我的嵌入式浏览器加载Flash内容的网页标题等不
 得到更新。我已经加入我的应用程序的名字也给Flash Player信任文件。我试图把我的内容在服务器和远程访问它,它从我的嵌入式浏览器工作正常。只有当Flash内容是present本地该URL和页面标题都没有得到更新。这导致我相信这个问题是与Flash Player信任文件。是我的信任文件的内容如下:

But when I load the flash content from my embedded browser the page title etc don't get updated. I have added my applications name also to the flash player trust file. I tried putting my content in a server and accessing it remotely and it works fine from my embedded browser. It is only when the flash content is present locally that URL and page title are not getting updated. This leads to me believe that the problem is with the flash player trust file. The contents of my trust file are as follows:

/home/shivu/activitytest/index.html

/home/shivu/activitytest/index.html

/home/shivu/activitytest/gettingstarted.swf

/home/shivu/activitytest/gettingstarted.swf

/家庭/ shivu / activitytest /

/home/shivu/activitytest/

/家庭/ shivu /应用/ LV71

/home/shivu/app/lv71

下面LV71是具有嵌入式浏览器的应用程序的名称。
我同时与全球和用户信任文件尝试过了,这是行不通的。没有任何人有任何线索什么可能会错误的,我怎么可能能够调试此。

Here lv71 is the name of the application which has the embedded browser. I tried it with both the Global and User trust files and it doesn't work. Does anybody have any clue what might be going wrong and how I might be able to debug this.

谢谢
jbsp72

Thanks jbsp72

推荐答案

有关Android的系统,路径是:

For Android systems, the path is:

<$c$c>/data/data/com.android.browser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player/#Security/FlashPlayerTrust/yourfile

我不得不手动创建#安全/ FlashPlayerTrust的路径部分。

I had to manually create the "#Security/FlashPlayerTrust" part of the path.

的名称,包括扩展名的文件,yourfile是无关紧要的。

The name, including the extension, of the file "yourfile" is irrelevant.

下面是它的内容的一个示例行:

Here is an example line of its contents:

/ SD卡/ HTML

更新:唉,这招行不通的了,至少在Android 2.2。使用Flash Player 11.1.111.5。

Update: Sigh, this trick does not work any more, at least on Android 2.2. with Flash Player 11.1.111.5.

这篇关于Flash Player信任文件中未对Linux的嵌入式浏览器的工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆