Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

How to get end time of a wmv file?



8:17 am on Feb 26, 2007 (gmt 0)

10+ Year Member

I have a html page on which i am playing a wmv file, now i want that when file finish, page should redirect to another page where second movie is integrated.

I can handle wmv playing and redirection on same page using PHP, but i don't know who to get end time of a wmv file, how i will know that file is finished and now redirect on second movie?

Please give idea of this...



4:21 pm on Feb 26, 2007 (gmt 0)

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 5+ Year Member

Maybe you can use Flash to get the desired effect? It shouldn't be too hard to put two movies back to back with that, even if you need to run some sort of conditional for the second movie.

Other than that, there isn't any PHP function that will help you to get this information. There may be a shell command I am not aware of that will allow you to get this, in which case you would only need to run the command and get back the output using system [us2.php.net], or any of the similar functions.

I hope this has provided some kind of plausible solution :)

Oh, why don't you just edit the movies and put them together as one? Another possible idea ;)

Good luck!


Featured Threads

Hot Threads This Week

Hot Threads This Month