Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  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)