View previous topic :: View next topic |
Author |
Message |
Acim Grandmaster Cheater Supreme
Reputation: 0
Joined: 04 Jun 2007 Posts: 1948 Location: If anyone has a GMS DK and they don't need it I'll have it!!
|
Posted: Sun Nov 25, 2007 11:16 am Post subject: [VB6] Playing a Video... |
|
|
Okay. I like to play music in the background while playing games and such, so I decided to make a program. I was gonna have hotkeys but I dropped those for now. Anyway, I made it play the YouTube .swf file, like this:
Base URL: http://www.youtube.com/watch?v=qF1wZQzpeKA
Movie URL: http://www.youtube.com/player2.swf
That actually let's it do SOMETHING. Even if play = true, it just displays the loading symbol ( a circle made of circles spinning around) forever. It never loads. Any help? All Im trying to do is to get it to play that youtube video (just for the music.).
I think it's something with the movie URL, but http://www.youtube.com/watch?v=qF1wZQzpeKA/player2.swf displays nothing.
_________________
I'm alive and well, but I quit CEF for a while. Legitly playing since Novemberish 07. Starting hacking October 06. |
|
Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Sun Nov 25, 2007 11:26 am Post subject: |
|
|
Did you try switching the base to player2.swf and the movie to the one you want to watch?
And you're using shockwave flash right?
_________________
|
|
Back to top |
|
 |
Acim Grandmaster Cheater Supreme
Reputation: 0
Joined: 04 Jun 2007 Posts: 1948 Location: If anyone has a GMS DK and they don't need it I'll have it!!
|
Posted: Sun Nov 25, 2007 11:28 am Post subject: |
|
|
Yes, Shockwave Flash. I'll try that and tell you if it works.
_________________
I'm alive and well, but I quit CEF for a while. Legitly playing since Novemberish 07. Starting hacking October 06. |
|
Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Sun Nov 25, 2007 11:36 am Post subject: |
|
|
No it doesn't work, I tried it
I can help you if you use the webbrowser function, cuz all you have to do is navigate to the url
Oh, btw, youtube plays FLV, so I'm not sure if shockwave flash can play it
_________________
|
|
Back to top |
|
 |
Acim Grandmaster Cheater Supreme
Reputation: 0
Joined: 04 Jun 2007 Posts: 1948 Location: If anyone has a GMS DK and they don't need it I'll have it!!
|
Posted: Sun Nov 25, 2007 12:19 pm Post subject: |
|
|
What would I do if I used the webbrowser function?
_________________
I'm alive and well, but I quit CEF for a while. Legitly playing since Novemberish 07. Starting hacking October 06. |
|
Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Sun Nov 25, 2007 12:23 pm Post subject: |
|
|
Ok, go to components, and search for microsoft internet controls (I think that's the name)
Now click the internet/world thingy, and drag it across your form, to what size you want your youtube video I guess
Now go to your form load command
Type this: (editing needed as well)
WebBrowser1.Navigate ("youtube direct url here")
Now it should load it
_________________
|
|
Back to top |
|
 |
Acim Grandmaster Cheater Supreme
Reputation: 0
Joined: 04 Jun 2007 Posts: 1948 Location: If anyone has a GMS DK and they don't need it I'll have it!!
|
Posted: Sun Nov 25, 2007 12:28 pm Post subject: |
|
|
Thanks, I'll try. +rep if it works.
EDIT: Works! Thanks. +rep, now I just need to add hotkeys.
_________________
I'm alive and well, but I quit CEF for a while. Legitly playing since Novemberish 07. Starting hacking October 06. |
|
Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Sun Nov 25, 2007 12:36 pm Post subject: |
|
|
No problem
_________________
|
|
Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sun Nov 25, 2007 1:23 pm Post subject: |
|
|
Acim wrote: | now I just need to add hotkeys. |
GetAsyncKeyState
_________________
|
|
Back to top |
|
 |
|