Video cache problem?

Alright. I have made a videoplayer which just loads a video using netconnect and netstream and then plays it. But for some reason, the file doesn’t run the function which contains the netstream and netconnect the first time you view it on a server.

It’s like you have to refresh it so it caches it, then it works.

Is there any know bugs or problem considering stuff like this?

Thanks in advance