Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Delphi 7 MediaPlayer (Easy Path)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,341
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 3, 2010

Source codes:
MediaPlayer1.Close;
Begin
If OpenDialog1.Execute Then
MediaPlayer1.FileName:=OpenDialog1.FileName;
Mediaplayer1.Open;
End;

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • looked tediously easy. mediocre level

  • LOL nice!

  • Thank you very much! You're god!

  • Thanks

    The mediaplayer.close closes the file opened before

  • Great man tnx 4 the info.

    But i was just wondering, what is the function of the first command? --> mediaplayer1.Close;

    If i delete this command it works evenly fine.

    My 2nd question is: following the logic of the code, when you start with "if opendialog1.execute", i don't understand why it executes? Just a simple buttonclick doens't execute opendialog. The code would make sense to me if the first command was opendialog1.execute.

    I'm sorry i'm just a newbie,would be great if you could answer

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more