Wordtube is great and I am really gratefull that I can use it.
Is there any way of telling wordtube only to put the js code into the wordpress header when it is really neccessary?
I don't like to have this:
'<script type='text/javascript' src='/wp-includes/js/swfobject.js?ver=2.1'></script>
<script type='text/javascript' src='/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wordtube = {
ajaxurl: "/wp-content/plugins/wordtube/lib/statistic.php"
};
/* ]]> */
</script>
<script type='text/javascript' src='/wp-content/plugins/wordtube/javascript/statistic.js?ver=0.1'></script>
'
all the time in the sourcecode.
Any idea of simply hacking wordtube to do it only when there is a player used?