I wrote a small script some time ago to open potplayer from any youtube-videopage, see image. This worked fine with old youtube design. But now there is this issue:
When I open a video link to get to youtube and after that click on my potplayer-button, youtube stops playing and potplayer opens and continues to play the video (all on Windows 7), all still fine in youtube material. But when I first click within youtube to open another video and after that I click my potplayer-button, potplayer opens as usual, but youtube reloads the current videopage and starts playing the video again. There has something changed in youtube, so accessing current video is not as before.
I use this code:
var ytpl = document.getElementById('movie_player');
Any hint how to solve this? Thank you!