Automattic的项目合作中,收到Raanan的推荐,来自这里的一份有趣提示。

  1. 抉择embed与object标签。object虽然是W3C的标准标签之一,但embed的兼容性更好;
  2. 最好能提基于供流式布局的SWF,技术方面可参考这篇文章(虽然是AS2的例子,但大体思想可见)。
  3. 提供autoplay参数。当这个参数为1或者true的时候,播放器可以自动播放。(目前我的VPlayer是支持的,与Automattic的合作项目也会考虑加上)
  4. 提供优雅的embed代码。技术上,可以将swf后面的参数通过rewrite的方式传入。我目前为Automattic制作的Player就采用了这种技术。与Youtube类似,我们甚至看不见flashvars这个属性:)
Still looking for something?

: http://as3blog.com/resources/build-graceful-embedding-code-for-video/

Post a comment now » Sorry, the comments are closed.

No comments yet.

Sorry, the comment form is closed at this time.