flash - 为什么谷歌视频播放器随机给出异常

标签 flash adsense

any ideas? Why the google video player randomly gives exception, how can I fix it?
This problem suddenly started this week or so.

    SecurityError: Error #2047: Security sandbox violation: parent: my.swf cannot access 
    http://s.ytimg.com/yts/swfbin/player-vflqv4MLv/watch_as3.swf.
    at flash.display::DisplayObject/get parent()
    at fl.managers::FocusManager/isTabVisible()
    at fl.managers::FocusManager/tabEnabledChangeHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.google.youtube.ui::UIElement/onAddedToStage()
    at flash.display::DisplayObjectContainer/addChild()
    at com.google.ads.ima.formats.common.video::YouTubeChromelessPlaybackImpl/play()
    at com.google.ads.ima.formats.vast.ui::AbstractVideoAdRenderer/usePlaybackToPlayVideo()
    at com.google.ads.ima.formats.vast.ui::AbstractVideoAdRenderer/start()
    at com.google.ads.ima.formats.common::AbstractVpaidAd/start()
    at com.google.ads.ima.formats.common.video::AbstractVideoAd/start()
    at com.google.ads.ima.formats.common::VpaidAdsManagerImpl/startCurrentAd()
    at com.google.ads.ima.formats.common::VpaidAdsManagerImpl/startInternal()
    at com.google.ads.ima.common::AbstractAdsManager/start()
    at com.google.ads.ima.formats.common::VpaidAdsManagerImpl/redispatchAdEventHandler()
    at com.google.ads.ima.common::AbstractAdsManager/adEventHandler()
    at flash.events::EventDispatcher/dispatchEventF

最佳答案

试试这个步骤:

在 Flash IDE 中,通过转至文件->发布设置->Flash->本地播放安全并选择“仅访问本地文件”或“仅访问网络”。

在 FlashDevelop 中通过右键单击您的项目-> 属性-> 编译器选项-> 使用网络服务

在 Amethyst 中右键单击解决方案资源管理器中的项目-> 属性-> 编译器-> 使用网络

取自:here

关于flash - 为什么谷歌视频播放器随机给出异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20989221/

相关文章:

actionscript-3 - 我可以使用 ffmpeg 和 actionscript 将网络摄像头视频 flv 转换为 mp4 吗?

actionscript-3 - 检查字体是否嵌入?

javascript - 为什么广告在我的开发盒上停止呈现?

ads - 如何自定义谷歌广告

Adsense 未显示,但在页面刷新后显示(Chrome 和 Safari)

php - Flash和PHP库在浏览器中录制声音并保存到.wav文件?

java - 无法在三星智能电视上使用 Flash 加载 HTTPS 验证码

javascript - swfobject 不与 html 通信

ajax - 使用 jQuery 在页面上复制 AdSense - 是否违反 AdSense 规则?

javascript - 如何检测 Google Doubleclick for Publishers DFP 广告的加载状态?