Event prevent default action - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152) +---- Thread: Event prevent default action (/showthread.php?tid=320777) |
Event prevent default action - neosqualls - 2017-08-30 Hello folks, I have made an addon that trigger event like : onPlayBackSeek, onPlayBackStarted etc ... I would like to know if there is a solution to prevent default action, for example when onPlayBackSeek is triggered i would like to stop the default action of seeking to make an other action, is it possible ? Thanks and best regards RE: Event prevent default action - neosqualls - 2017-09-01 Hi a little up for my post ... To be more precise i play an adaptive mpd manifest that cannot be seeked by classic way. I have to play http://www.myurl.com/manifest?timecode=200 where timecode is the time code in seconds where i want to start playing the video. So my addon is supposed to detect onPlayBackSeek then stop playing then playing the new manifest with new time code BUT when i press the seek button on my remote my event is triggered but it freeze instantly for few minutes then stop. Can someone help ? |