1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    6
    Vote Rating
    0
    vkryachko is on a distinguished road

      0  

    Default Answered: Flash tap events blocked

    Answered: Flash tap events blocked


    Hi, I am writing an app in which I have to use a flash player(jwplayer) to play videos (for android devices). So my problem is that when I add a flash object to dom, it does not respond to any click events. I have a feeling that Sencha Touch prevents them from firing, I just can't figure out where it happens and if there is a way to change this behavior.
    I've read the source of Ext.Component and Ext.AbstractComponent and could not find a way to do that. Any ideas?

    P.S.: I can't use Ext.Video(html5 video tag) as the video is streamed over rtmp.

    Thanks in advance!

  2. Try setting preventZoom to false in the viewport config (this will default to false in the next release)

    Code:
    Ext.application({
        viewport : {
            preventZooming : false
        }
    });

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Answers
    3356
    Vote Rating
    751
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Try setting preventZoom to false in the viewport config (this will default to false in the next release)

    Code:
    Ext.application({
        viewport : {
            preventZooming : false
        }
    });
    Last edited by mitchellsimoens; 11 Apr 2012 at 8:44 AM. Reason: preventZoom -> preventZooming
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    6
    Vote Rating
    0
    vkryachko is on a distinguished road

      0  

    Default


    Thanks mitchellsimoens.
    It did the trick. Though the right property is preventZooming not preventZoom.

    viewport : { preventZoomimg : false }

  5. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Answers
    3356
    Vote Rating
    751
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Quote Originally Posted by vkryachko View Post
    Thanks mitchellsimoens.
    It did the trick. Though the right property is preventZooming not preventZoom.

    viewport : { preventZoomimg : false }
    My bad! Good catch!
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

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