AutoHotkey Community

It is currently May 26th, 2012, 3:50 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Help With Vid Player
PostPosted: April 8th, 2009, 3:44 pm 
Offline

Joined: March 21st, 2009, 8:12 pm
Posts: 28
I started to code a video player, It can open a file, and is supposed to play it, it is very simple.

Code:
FileSelectFile, File, , , Select A File To Play With VideoPlayer, Audio/Video (*.wav; *.mp3; *.wma; *.wmv; *.avi; *.mpg)
Gui, -AlwaysOnTop +Resize +ToolWindow
Gui, -Resize +LastFound +BackgroundTrans
Gui, Show,w500 h500 Center
Soundplay, %File%


However, It just gives me a white box. I was trying to play and avi file, What am i doing wrong? Please help.

Thanks

_________________
<("-")>


Report this post
Top
 Profile  
Reply with quote  
 Post subject: `
PostPosted: April 8th, 2009, 3:49 pm 
Everything looks good. But I think the problem is that you don't have anywhere the video is playing you just have a GUI. I'll look into this more later when I get home from school.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 8th, 2009, 3:51 pm 
Offline

Joined: March 21st, 2009, 8:12 pm
Posts: 28
Thank you.

_________________
<("-")>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 8th, 2009, 4:51 pm 
Offline

Joined: November 24th, 2005, 8:16 am
Posts: 851
SoundPlay will not play any video.
At most, it will play the sound track inside that video.

_________________
Sector-Seven - Freeware tools built with AutoHotkey


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 8th, 2009, 4:58 pm 
Offline

Joined: March 21st, 2009, 8:12 pm
Posts: 28
Are there any Dlls i could use to play a video in a GUI? Avi in particular

_________________
<("-")>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 8th, 2009, 5:00 pm 
Offline

Joined: November 24th, 2005, 8:16 am
Posts: 851
add "VideoPlay" to the wish list :)

_________________
Sector-Seven - Freeware tools built with AutoHotkey


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 11th, 2009, 1:59 pm 
Offline

Joined: April 11th, 2009, 1:52 pm
Posts: 1
SoundPlay does play .mpg videos on my computer, but I do not know which other video formats it can play. Obviously, it can play .wav .mp3 files as well. Your video player did let me select the file and play it, but it did it in another window popped up that was the same size as the video's resolution. Your GUI remained blank.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], notsoobvious and 21 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group