Important alert: (current site time 7/16/2013 3:29:01 AM EDT)
 

winzip icon

Xplayer.Ocx Beta test II With Complete Source Code Which Replace MediaPlayer.Ocx(New Playlist Added)

Email
Submitted on: 10/3/2000 12:43:09 PM
By: Imthiaz Rafiq  
Level: Intermediate
User Rating: By 61 Users
Compatibility: VB 6.0
Views: 37517
author picture
(About the author)
 
     Xplayer Control was mainly done to replace mediaplayer.ocx. This does almost all the work done by the mediaplayer[ Ihope so]. This control supports the following file formats Dat, Avi, Mp3, Wav, Mpg & Wma files. It has fullscreen mode in which shortcut keys Like Play,Pause,Skip & volume Control. This control Can read mp3 files tag. It can open and close Cd tray. You can change almost all the color in the control. All the controls can hide or unhide. You can access almost all the functions of control thru your coding. The only bug in this control is when user plays a uncompressed movie file in fullscreen mode. the Program and system hangs. I hope the Bright peoples of planetsourcecode.com will correct that bug. The code is little shabby and not commented. I think so you will understand since the code is simple. It took a lot of time for me do this project. Sorry for the late release of source code. Please Vote for me. Please..........Vote my program.......... Now Playlist Added to it.. Vote me

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
'Windows API/Global Declarations for :Xplayer.Ocx Beta test II With Complete Source Code Which Replace MediaPlayer.Ocx(New Playlist Added)
'**************************************
Too Many..
Please Vote Me
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 8 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
10/3/2000 12:56:33 PMImthiaz

Please vote.
Please vote..
Please vote...
Humble request....
(If this comment was disrespectful, please report it.)

 
10/3/2000 4:11:42 PMRJ Soft of West Tennessee

Humble request? Ha:) I'll be looking at your control shortly...
(If this comment was disrespectful, please report it.)

 
10/5/2000 12:48:56 AMnarayanan

Good work. Try to add more functions.
I voted your work Excellent..
(If this comment was disrespectful, please report it.)

 
10/10/2000 5:17:10 AMAbdullah Al-Ahdal

Hello Again Imthiaz Rafiq ,
Good work,
I voted 5 :) !

I want to tell you about your problem!
Are you know there are no any problem!

the problem appear because maybe you not had a supper VGA card.
I had (ATI All in Wonder 16 MB) and even if I played AVI file fullscreen.Every thing OK.My avi is 550 MB and about 2.5 MB per second and when I play it every thing OK even for full screen,and note my avi is 25 frames per second.

anyway be sure there are no any problem!

another thing :
sorry for advertising :
the Actual source code in a Module which the code use it and everyone had the permission to use it:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=9783

another
way to access to the code:
Search for "Forget Controls Multimedia" and see the result.


Thanks Imthiaz and keep up the good work.
(If this comment was disrespectful, please report it.)

 
10/16/2000 1:14:00 AMZaheer

Nice work.
Gave u five.

(If this comment was disrespectful, please report it.)

 
1/12/2001 7:48:12 AMTony Elliott

I will have fun looking at the code and gleening from your excellent coding thanks again

(If this comment was disrespectful, please report it.)

 
2/3/2001 5:06:17 PMTony Elliott

I will h
(If this comment was disrespectful, please report it.)

 
2/14/2001 6:07:13 PMKunal Johar

Does this use any media player DLLs?
(If this comment was disrespectful, please report it.)

 
4/27/2001 7:58:04 PMimthiaz

no this media player doesn't use any dll
(If this comment was disrespectful, please report it.)

 
12/23/2002 2:46:09 AM

Excellent Code. However 'this media player doesn't use any dll' isn't exactly true because the code won't work without winmm.dll.
(If this comment was disrespectful, please report it.)

 
2/12/2004 3:17:20 AM

Why proc. PlayerX1_OnTimer(PlayerPlayMode As String, PlayerCurrentTime As Long, PlayerOldTime As Long, PlayerTotalTime As Long)doesn't show valid time of mp3 file (variable PlayerTotalTime as Long)wich recorded in VBR (variable bitrate) ?
(If this comment was disrespectful, please report it.)

 
9/16/2004 4:25:23 AM

good job.but I don't know how to use it exactly because I cannot find any help document about it.Where can I get them?
I give you excellent.
(If this comment was disrespectful, please report it.)

 
11/30/2006 10:18:31 AMDan

Doesn't work for me. I get "errors during load" message when I click XPlayer.ctl
I never got it to work, but I did get to to report illegal operation and shut down my VB
Anybody has an idea?
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.