没有特妙的招呵,就是象您那样用了滤镜:)~。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和我的设计同步。不过,现在已经贴了,就不想改了。~