开发者

How to control FLV Playback in flash with Action Script?

开发者 https://www.devze.com 2023-03-28 16:53 出处:网络
How to control FLV Playback in flash with Action Script? I want to play Video in my webpage similar to YouTube. I have done it with automatic play开发者_如何学C but I want it when you press play butto

How to control FLV Playback in flash with Action Script? I want to play Video in my webpage similar to YouTube. I have done it with automatic play开发者_如何学C but I want it when you press play button, then play and pause, volume, next & back as well.


There are tons of tutorials on this subject on the web (example: gotoAndLearn)

Basically you just create a Video object to which you attach a NetStream then you perform your play, pause, stop and seek operations on the NetStream which is really straightforward.

Take a look at the AS3 documentation on the videoclass also, it helped me a lot.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号