|
-
Oct 4th, 2010, 03:52 AM
#1
Thread Starter
New Member
Webbroser:Wait until flv finishes
my friends,
I want to open a youtube page in my vbnet application (using webbrowser control) and wait until streaming video finishes playing.
any ideas howto do it ?
-
Oct 4th, 2010, 04:30 AM
#2
Re: Webbroser:Wait until flv finishes
Please mark you thread resolved using the Thread Tools as shown
-
Oct 4th, 2010, 04:38 AM
#3
Fanatic Member
Re: Webbroser:Wait until flv finishes
 Originally Posted by danasegarane
Won't work as the flv is independent of the actual webpage loading (try it and you'll see) So it will say that the document has completed without actually having fully streamed the video.
-
Oct 4th, 2010, 05:03 AM
#4
Re: Webbroser:Wait until flv finishes
I have previously used this event for web page. Currently I cannot test this as I cannot acccess youtube. but I will suggest to give a try and also look at the WebBrowser:FileDownload Event
Please mark you thread resolved using the Thread Tools as shown
-
Oct 4th, 2010, 05:51 AM
#5
Thread Starter
New Member
Re: Webbroser:Wait until flv finishes
nope, WebBrowser:FileDownload event only fires when download starts. good approach but unfortunately there'sno "download completed" indicator, thats is that needid if I use WebBrowser:FileDownload event.
insteresting but google didnt show up any solutions.
-
Oct 4th, 2010, 05:52 AM
#6
Thread Starter
New Member
Re: Webbroser:Wait until flv finishes
 Originally Posted by danasegarane
that was the first thing I tried my friend. but page complete does not mean streaming video has loaded and shown completely. documentCompleted event fires far before video finishes.
-
Oct 4th, 2010, 06:16 AM
#7
Re: Webbroser:Wait until flv finishes
May be you have to handle the WebBrowser1_ProgressChanged event with
'e.MaximumProgress
'e.CurrentProgress
Code:
Private Sub WebBrowser1_ProgressChanged(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserProgressChangedEventArgs) Handles WebBrowser1.ProgressChanged
'e.MaximumProgress
'e.CurrentProgress
End Sub
Please mark you thread resolved using the Thread Tools as shown
-
Oct 4th, 2010, 07:21 AM
#8
Thread Starter
New Member
Re: Webbroser:Wait until flv finishes
 Originally Posted by danasegarane
May be you have to handle the WebBrowser1_ProgressChanged event with
'e.MaximumProgress
'e.CurrentProgress
Code:
Private Sub WebBrowser1_ProgressChanged(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserProgressChangedEventArgs) Handles WebBrowser1.ProgressChanged
'e.MaximumProgress
'e.CurrentProgress
End Sub
sorry, no luck. these progress values are for only document itself, like html codes, etc... streaming video doesnot effect the document size.
-
Oct 4th, 2010, 07:34 AM
#9
Re: Webbroser:Wait until flv finishes
Does the WebBrowser:FileDownload fires every time , did you check the WebBrowser.isBusy Property while downloading the file ?
Please mark you thread resolved using the Thread Tools as shown
-
Oct 4th, 2010, 08:06 AM
#10
Thread Starter
New Member
Re: Webbroser:Wait until flv finishes
yes my friend, I checked. flash video looks like "another person doing something" on the page. looks like page does not check what it does. while downloading the video AND playing it, browser is not Busy.
-
Oct 4th, 2010, 08:21 AM
#11
Re: Webbroser:Wait until flv finishes
I ran out of ideas. Hope some one help
Please mark you thread resolved using the Thread Tools as shown
-
Oct 4th, 2010, 08:40 AM
#12
Thread Starter
New Member
Re: Webbroser:Wait until flv finishes
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|