nativescript-videoplayer
nativescript-videoplayer copied to clipboard
controls not work with gestures on player
I'm trying to implement gestures control to players they are work but when I use the gestures even the controls set to true they don't show this code of the gestures vid_player.on(gestures.GestureTypes.swipe, function (args) { console.log("Swipe Direction: " + args.direction); if(args.direction==2){ vid_player.pause(); } });
even im setting controls to true on xml they dont work along with gesture
Could you provide more detail on what you're trying to do and possibly a sample app to work with (you could fork the repo and tweak the demo app if that is simple enough). I'm not sure what you're going for as an end result so this would help to see 😄 thanks.