位DailyMotion的Flash Player API [英] Dailymotion Flash Player API

查看:151
本文介绍了位DailyMotion的Flash Player API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

位DailyMotion闪存API已经停产。它重定向到使用新的播放器API。 旧闪存API: http://www.dailymotion.com / PL / DOC / API /球员德precated / flash_api 新玩家API: http://www.dailymotion.com/doc/api/player.html 旧的API仍然正常工作。没有信息多久,这将是产品尚未推出。 我尝试更新Flash项目新的播放器API。一切都将被罚款,但是当我试图在其他Flash项目装入新的播放器API,它告诉加载位DailyMotion播放器API是不是可以运行纯Flash文件。 旧位DailyMotion API code:

Dailymotion Flash API has been discontinued. It redirects to use new Player API. Old Flash API: http://www.dailymotion.com/pl/doc/api/player-deprecated/flash_api New Player API: http://www.dailymotion.com/doc/api/player.html Old API is still working correctly. There is no information how long it will be available yet. I tried to update Flash project with new Player API. Everything would be fine, but when I try to load new Player API under other Flash project, it tells that loaded dailymotion player api is not pure Flash file that can be run. Old dailymotion api code:

loader.load(new URLRequest("http://www.dailymotion.com/swf?enableApi=1&chromeless=1"));

旧位DailyMotion API结果:工作。 新的播放器API code:

Old dailymotion api result: working. New player api code:

loader.load(new URLRequest("http://www.dailymotion.com/embed/video/xjk5h2?chromeless=1&controls=flash&startscreen=flash&html=0&api=location"));

新播放器API结果:

New player api result:

Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type.

我如何可以加载在其他Flash项目新的播放器API?这可能吗?

How can I load new player api under other Flash project? Is it possible?

推荐答案

我们的文档不清晰。我们将阐明所有这些要点:支持周期,版本,使用等

Our documentation isn't clear. We'll clarify all these points : support period, version, usage, etc.

我建议你使用/瑞士法郎途径进入你的AS3项目。在/嵌入/视频只是一个包装器/瑞士法郎。你仍然会受益,使用这条路线(/ SWF)最后的改进。

I recommend you to use the /swf route into your as3 projects. The /embed/video is just a wrapper around /swf. You'll still benefit of last improvements using that route (/swf).

希望这有助于。

伊万

这篇关于位DailyMotion的Flash Player API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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