Hi all,

My query goes like this.

I have two htm files.One is media_try_home.htm and the second one is media_try.htm.I am attaching these files to my mail so that you guys can understand the problem.

Now, first simply open the media_try_home.htm and press "PLAY THE FILE" button.A video clip is opened.(Both the files should be in the same directory).

Using webbrowser,  I can first open the first file like this:

webbrowser.open_new("c:\Myfolder\media_try_home.htm").

But I want to play the second file directly using webbrowser but that doesn't work when I use the following :

webbrowser.open_new ("file:///c:\media_try.htm?start=60&end=70&location=mms%3A%2F%2Fedrul-develop.softeco.it%2F23%2F2004%2F12%2F23_20041218223000.wmv&submit=PLAY+THE+FILE")

If I simply paste this link in the browser, then it works direclty, bypassing the first file.

May be it's due to the fact that "file:///" is an ftp?Any ideas or clues what can I do to play the second file directly?

Thanks in anticipation,

Kamran

Title: Documento senza titolo

PLAY WINDOWS MEDIA FILE

Start seconds
End seconds
Location  

 

 

Title: Documento senza titolo
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to