谢谢期待兄美言:)~偶是花刀太岁,您是花刀老木匠,偶要欺负你了:))~

没有特妙的招呵,就是象您那样用了滤镜:)~。Youtube提供有一个特殊的swf文件,把它load进来就可以调用google提供的API methods了。这样就可以使用自己的播放按钮了。这里列几个google的API methods给您:

  • loadVideoById() - This method loads a video and play it instantly once the video is ready to be played.
  • cueVideoById() - This method loads a video, but does not play it automatically. The use will have to use the playVideo() method to play
  • playVideo() - Plays a cued video or a paused video.
  • pauseVideo() - Pauses a video at its current position.
  • stopVideo() - Stops the video and resets it to the beginning.
  • mute() - Mutes the sound of the video.
  • unMute() - Unmutes the sound of the video.

偶其实应该做得更好的,应该用cueVideoById() ,这样可以确保MTV和我的设计同步。不过,现在已经贴了,就不想改了。~

所有跟帖: 

哦,那个 -草微子- 给 草微子 发送悄悄话 草微子 的博客首页 (247 bytes) () 07/22/2012 postreply 23:24:19

欺负俺?哈哈:)我正骨头痒痒着哪:) 谢谢你的code,收获很大,你看这个效果 -没有期待- 给 没有期待 发送悄悄话 没有期待 的博客首页 (1033 bytes) () 07/23/2012 postreply 09:15:14

:)),刀枪真英雄:)~,,也谢谢你的这个效果~ -草微子- 给 草微子 发送悄悄话 草微子 的博客首页 (98 bytes) () 07/23/2012 postreply 14:43:40

和你的一样,youtube加滤镜,比一张张图导入简单多了:)你点一下中间就知道了:) -没有期待- 给 没有期待 发送悄悄话 没有期待 的博客首页 (0 bytes) () 07/23/2012 postreply 14:48:39

“哇呀呀”,栽了:)))~ -草微子- 给 草微子 发送悄悄话 草微子 的博客首页 (25 bytes) () 07/23/2012 postreply 14:55:27

还有,滤得那么干净, -草微子- 给 草微子 发送悄悄话 草微子 的博客首页 (67 bytes) () 07/23/2012 postreply 14:59:19

原youtube -没有期待- 给 没有期待 发送悄悄话 没有期待 的博客首页 (230 bytes) () 07/23/2012 postreply 15:05:21

哦,谢谢 -草微子- 给 草微子 发送悄悄话 草微子 的博客首页 (250 bytes) () 07/23/2012 postreply 15:20:58

swish做的,和你那cs5的一样,我这个只写一行code loadmovie(http://youtube.......) -没有期待- 给 没有期待 发送悄悄话 没有期待 的博客首页 (0 bytes) () 07/23/2012 postreply 15:01:10

请您先登陆,再发跟帖!