CSS-Tricks / AnythingSlider

A jQuery Slider plugin for anything.
http://css-tricks.github.io/AnythingSlider/
GNU Lesser General Public License v3.0
1.15k stars 380 forks source link

SWF animation in slider #492

Closed tyte closed 11 years ago

tyte commented 11 years ago

Hello! I have a problem with using SWF animation in anythingslider.

I want SWF animation to play automatically (that is 15s long) and when its done go automatically to other slides (that last for 5s).

And one more thing I would like - if a person for example goes to other slide manually, I would like SWF start playing from the begining again when the slide with animation is active again.

Could you please help me with that? Maybe there is other file format I should use to make it work?

Mottie commented 11 years ago

Hi tyte!

Which SWF player are you using to play your animation? Most flash players have some kind of API that you can use to pause, play, detect if a video/animation is playing and setting/resetting the starting point.

tyte commented 11 years ago

Just a simple flash player that eveyrbody can download?

Hi tyte!

Which SWF player are you using to play your animation? Most flash players have some kind of API that you can use to pause, play, detect if a video/animation is playing and setting/resetting the starting point.

— Reply to this email directly or view it on GitHub https://github.com/CSS-Tricks/AnythingSlider/issues/492#issuecomment-13493180.

Mottie commented 11 years ago

Which one?... I need to know how to interact with it's API.

tyte commented 11 years ago

I mean this one: http://get.adobe.com/se/flashplayer/

Which one?... I need to know how to interact with it's API.

— Reply to this email directly or view it on GitHub https://github.com/CSS-Tricks/AnythingSlider/issues/492#issuecomment-13566220.

Mottie commented 11 years ago

Ok, how are you initializing it? HTML and any associated javascript would help.

tyte commented 11 years ago

Hi again, I put html inside of one #slider li, as follows:

Ok, how are you initializing it? HTML and any associated javascript would help.

— Reply to this email directly or view it on GitHub https://github.com/CSS-Tricks/AnythingSlider/issues/492#issuecomment-13698830.

Mottie commented 11 years ago

I just wanted to make sure, but it seems the basic flash player doesn't expose the javascript api, so you'll need to pick a specific player for your swf, like JW Player, but I read somewhere that you won't know the timing or when the player ends. So, maybe the best idea is to use a swf to flv converter, like this one.

tyte commented 11 years ago

OK, I got it :). Will try convertion!

I just wanted to make sure, but it seems the basic flash player doesn't expose the javascript api, so you'll need to pick a specific player for your swf, like JW Player http://www.longtailvideo.com/jw-player/, but I read somewhere that you won't know the timing or when the player ends. So, maybe the best idea is to use a swf to flv converter, like this one http://www.sothink.com/product/swftovideoconverter/.

— Reply to this email directly or view it on GitHub https://github.com/CSS-Tricks/AnythingSlider/issues/492#issuecomment-13727431.

Mottie commented 11 years ago

I am guessing this issue has been resolved, so I'm closing it. Please feel free to reopen this issue if you continue to have problems. For any further questions, please use the CSS-Tricks forums. Thanks!