Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frank Goossens

    (@futtta)

    I suppose that, if the lyte-embed got loaded with enablejsapi=1 (cfr. faq), it should be possible to tie into it with jquery, but I don’t really know how, to be honest.

    Hope this helps nonetheless!

    Thread Starter hansford77

    (@hansford77)

    Thanks, I’ll investigate further! On a related note, do you know how to reinitialise the plugin from jquery? as I need to do this after using quicksand.

    Plugin Author Frank Goossens

    (@futtta)

    you can reinitialise by issuing ly.te()

    Thread Starter hansford77

    (@hansford77)

    Thanks for that. In case anyone else has the same problem, there is a slight issue in that sometimes d (document) is overwritten (either by quicksand or the reinitalisation), and the plugin stops working. I copied d=document into ly.te and it’s fine now.

    Plugin Author Frank Goossens

    (@futtta)

    Thanks for that last point. It is nteresting, as I (incorrectly, apperantly) supposed ‘d’ was protected as it was defined in a closure.

    Anyway, instead of re-defining d, could you try if changing line 2 solves the bug as well;

    d = document;
    into
    var d = document;

    I would expect that to fix the problem as well (and it’s … cleaner 🙂 )

    I’ll include this small tweak in 1.2.0 if it turns out OK.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘pause playback’ is closed to new replies.