Hi,
could you post the solution here? It might help me cause I have a similar problem:
I am using WSPlayer to only play files from a uri-list I fetched from a server side script before. First I had the same problem of the player object being undefined. I managed to solve this by checking if the player object is present before starting to play. That helped a lot, but still it happens that the video i passed to play can't be started. the player just doesn't react to pressing the play button. And the video never starts automatically, what it theoretically should and does, when i pass a second video after the first.
Also I have a basic question: I am using a dummy video in the playlist atm cause it seems you can't integrate the FLVPlayer without a video present. Did I oversee something, is there a possibility to start the player without a playlist and any video, if I want to pass the videos via the player object later?
I posted this as a reply to this thread cause I think its possible the solution Franci helped could solve all my problems, too. I hope an admin looks through this post anyway. If I don't get a response it might be I will open a new Topic, cause I think no one read it. So please don't blame me for that then.
My Code is found here:
http://www.thomasstark.info/web/frank/v ... index.htmlIts a bit complicated, cause I also have a Gallery and a lot of unrelated Javascript code plus an AJAX call in there. Don`t hesitate to ask, if a simpler example page could help...
Cheers,
butters.