I have this function:

```
function onPlayerStateChange(event) {
    if (event.data == 0){

        alert(event.target.parentNode);

    }
});

```

It is called every time a "state change" occurs for the embedded iframe. It only raises an alert message when the video ends, and [according to the docs](http://code.google.com/apis/youtube/iframe_api_reference.html#Events), I can get the reference to the player by calling `event.target` However, I want to be able to find the parent div of `event.target` but I am unable to call any jquery or regular javascript on it. How will I be able to find the parent div of the player that just ended?