This works, but it does not start playing if the first slide is a flash
object.

Any idea of how to fix this?

Regards,
Ove Andersen


malsup wrote:
> 
> 
> function onBefore(curr, next, opts) {
>     // next is the element that is about
>     // to be transitioned in
> 
>     var tag = next.tagName.toLowerCase();
>     if (tag == 'object' || tag == 'embed') {
>         // start playing media
>     }
> };
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Jquery-Cycle---Determine-active-slide-tp20312669s27240p20813667.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to