Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

VB2010 wont run a stream

hi all coding a system to stream and when i click the play button it says connecting then connected but doesnt play.

the code ive used is

Code
axwindowsmediaplayer1.url = "www.youtube.com/455453"


^^Youtube example


any ideas people?
I hope that's not the actual link you're using.
Try this:
Code
https://youtube.googleapis.com/v/{ID}
didnt understand that 1 bit link doesnt work?
(Feb 27, 2014 04:02 PM)Djokovic Wrote:  hi all coding a system to stream and when i click the play button it says connecting then connected but doesnt play.

the code ive used is

Code
axwindowsmediaplayer1.url = "www.youtube.com/455453"

^^Youtube example

any ideas people?

That's because you need the absolute URI of the mp4 or flv file associated with the youtube clip. Try a WebBrowser component, and make it navigate to a link like this:

https://www.youtube.com/watch?v=hkDD03yeLnU

Replace /watch?v= with /v/, so like this:

https://www.youtube.com/v/hkDD03yeLnU
okay mate thanks i have found a video i want to stream but its in the format of this

www.xxxxxx.com/54435

how would i stream something like that?

ive tried using the /v/ but nothing
(Feb 27, 2014 07:12 PM)Djokovic Wrote:  okay mate thanks i have found a video i want to stream but its in the format of this

www.xxxxxx.com/54435

how would i stream something like that?

ive tried using the /v/ but nothing

No YouTube video is in that format..
noo i dont mean has xxxxx.com

basically like this www.youtube.com/43634

im talkin about the numbers at the end are they encoded in any way?
(Feb 28, 2014 02:14 PM)Djokovic Wrote:  noo i dont mean has xxxxx.com

basically like this www.youtube.com/43634

im talkin about the numbers at the end are they encoded in any way?

So you are trying to stream a Flash object into a Windows Media Player....?? 😧
(Feb 28, 2014 02:15 PM)Aeonhack Archivist Wrote:  So you are trying to stream a Flash object into a Windows Media Player....?? 😧

Yes, that's exactly what he's trying to do - in short, twit.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by KK123May 13, 2017 06:56 AM 3 170 May 13, 2017 06:56 AM
Last Post: Chercher
[Python] by 41phafr34kMar 20, 2017 11:50 PM 11 381 Mar 20, 2017 11:50 PM
Last Post: obby
[C#] by passwordsApr 16, 2016 12:22 PM 0 115 Apr 16, 2016 12:22 PM
Last Post: passwords