Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[VB6] Playing a Video...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
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!!

PostPosted: Sun Nov 25, 2007 11:16 am    Post subject: [VB6] Playing a Video... Reply with quote

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
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sun Nov 25, 2007 11:26 am    Post subject: Reply with quote

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
View user's profile Send private 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!!

PostPosted: Sun Nov 25, 2007 11:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sun Nov 25, 2007 11:36 am    Post subject: Reply with quote

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 Rolling Eyes

_________________
Back to top
View user's profile Send private 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!!

PostPosted: Sun Nov 25, 2007 12:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sun Nov 25, 2007 12:23 pm    Post subject: Reply with quote

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
View user's profile Send private 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!!

PostPosted: Sun Nov 25, 2007 12:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sun Nov 25, 2007 12:36 pm    Post subject: Reply with quote

No problem Wink
_________________
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Sun Nov 25, 2007 1:23 pm    Post subject: Reply with quote

Acim wrote:
now I just need to add hotkeys.


GetAsyncKeyState

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites