homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

How to get end time of a wmv file?

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

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)

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!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved