hey folks,
I try to get a playlist redirect on youtube videos working. Since I want to track the views via a tracking php script, I have to redirect every youtube video-call through my view.php. I DON'T want to get the yt file for higher quality etc.!
In a playlist the view.php is called with a GET param "id" e.g. http://host/view.php?id=ytid
content of view.php
<?php
$ytid = $_GET["id"];
//track video view
//
header("Location: http://www.youtube.com/watch?v=$ytid",true,302);
?>Now I get a error #2048 which indicates a wrong url(?)! BTW why can't I find these error codes in the docs? Are they flash errors or player errors?
What I ruled out so far:
- view.php is working correctly (redirecting to yt)
- playlist is set up and working correctly
Are there any solutions or suggestions regarding this setup?

just need a php redirect to a youtube video :)
please? someone?