1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    4
    Vote Rating
    0
    mikemets is on a distinguished road

      0  

    Default Unanswered: Stop video on back button

    Unanswered: Stop video on back button


    Hi,

    I have a nestedlist that displays a video in the detailCard (I'm using a XTemplate with a video tag). When I click the back/parent button on the toolbar, the video continues to play. I've created an event handler for deactivate but when it gets to the handler I can't find the video object to stop it. (I tried child, down, getCmp, and more).

    Thanx,
    Mike

  2. #2
    Sencha User
    Join Date
    Aug 2012
    Posts
    4
    Vote Rating
    0
    mikemets is on a distinguished road

      0  

    Default


    Found it: in the deactivate handler, oldActiveItem.element.destroy(). Note the comment on deactivate in docs - the param order is different. Should be (oldActiveItem, container, newActiveItem, eOpts)

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar