Alright you guys, I think I have to word it different to explain what is going on. (English is not my native language)
I have a video_play.js that detects links to video in a post. And if you show a picture that links to that video and click it, it will play the video with the same size of the picture. How cool is that?
To be able to do that I have to put the link to that script into header.php or index.php.
All of that works great. But now comes the challenge;
If I link that script and activate a video-plugin called vPIP, the plugin vPIP does not work, video_play.js overrules the vPIP plugin.
I want to give my users a choice between video_play.js and vPIP therefore I need to have a plugin to activate or deactivate video_play.js OR a statement around the script that can detect if vPIP is active or not and in the case vPIP is active it has to ignore video_play.js
I hope i made it more clear this time. I will make another post to tell everyone about the video-plugin vPIP working in MU.