C# Tutorial 37: How to add a (Windows Media Player) Video clip to the form

Поділитися
Вставка
  • Опубліковано 31 жов 2024

КОМЕНТАРІ • 55

  • @SamChaneyProductions
    @SamChaneyProductions 2 роки тому +1

    Thanks for actually having voice over instructions instead of annoying techno music!

  • @MasterRiion
    @MasterRiion 11 років тому +2

    Thank you for providing such a helpful video, you also inspired me to get the video to play within Windows Media Player rather than making seperate buttons to manage it. You have just earned a new subscriber.

  • @surajbhopi6161
    @surajbhopi6161 4 роки тому

    this is a real knowlege of programing.....hats off u sir for doing this amazing job for us..ur great

  • @MyCrazyKidVids
    @MyCrazyKidVids 11 років тому +1

    Thank you for this video. It really helped make sense of how to play multiple audio and video formats in a windows form program.

  • @mrbush1872
    @mrbush1872 8 років тому +1

    спасибо за Ваши видео уроки ! Полезные )

  • @georgestefanidakis3450
    @georgestefanidakis3450 9 років тому +7

    Good video, but the video did not resume after clicking play again. problem is that every time play is clicked the URL is reset. A little logic gets around this as shown in the following. Initially set up a global string variable called resume and assign value "Start" then see the logic below:
    private void btnStart_Click(object sender, EventArgs e)
    {
    if (resume == "Start")
    {
    axWindowsMediaPlayer1.URL = txtPath.Text;
    axWindowsMediaPlayer1.Ctlcontrols.play();
    resume = "Resume";
    }
    else
    {
    axWindowsMediaPlayer1.Ctlcontrols.play();
    }
    }

  • @eddieconfetti3497
    @eddieconfetti3497 3 роки тому

    thanks for the tutorial man!!!!

  • @GiuseppeSparta
    @GiuseppeSparta 7 років тому +1

    Great information! can you start at a certain point and the end of the video at a certain point?

  • @marcoferreira-ufrj1977
    @marcoferreira-ufrj1977 3 роки тому

    My friend, thanks for the tutorial.
    I would like to know how to reset the timer.
    Could you tell?

  • @kampung22
    @kampung22 4 роки тому

    Nice video. How to make video repeat?

  • @mixmix111
    @mixmix111 9 років тому

    This is a very very good tutorial

  • @ricky5176
    @ricky5176 10 років тому

    Wow thanks a lot man... Noe I can complete my assignment

  • @iFFOKMedia
    @iFFOKMedia 10 років тому

    I really love the video! thank for your help u still the one!!! merci beaucoup!!

  • @MrBalu711
    @MrBalu711 8 років тому

    Good video for uploading video tnks

  • @Kenji_195
    @Kenji_195 6 років тому +9

    Speed it up to 2
    Trust me, you'll still understand anyway :L

  • @inthapanyathongsamay776
    @inthapanyathongsamay776 4 роки тому

    Thank it is OK, But it seem to me that Pause (Button) it do the same function as Stop (Button). The code should be add at Pause(Button) am I right?

  • @camonbauDuc
    @camonbauDuc Рік тому

    thanks a lot sir ! Damn, why Indians are so good at Tech ?!

  • @rickl2834
    @rickl2834 5 років тому

    How do you change the current position of the slider? To go back 30 sec or jump ahead 10sec....???

  • @bohaak6071
    @bohaak6071 11 років тому

    Thank you for sharing...

  • @GiancarloCarccamo
    @GiancarloCarccamo 11 років тому

    great video dude thank

  • @unicomp5705
    @unicomp5705 8 років тому

    Great info!!

  • @NeguAIT
    @NeguAIT 8 років тому

    This is the correct version. :)
    private void button_Click(object sender, EventArgs e)
    {
    OpenFileDialog openFileDialog1 = new OpenFileDialog();
    DialogResult = openFileDialog1.ShowDialog();
    if (DialogResult == DialogResult.OK)
    {
    this.textBox_path.Text = openFileDialog1.FileName;
    }
    }

  • @freddiememer
    @freddiememer 8 років тому +4

    10 minutes? You took 90 seconds just to check a box. Hurry up!

    • @LamNguyen-yj5ib
      @LamNguyen-yj5ib 8 років тому +1

      +Jimmy Watson just step by step buddy.

  • @Morg8685
    @Morg8685 6 років тому

    thank you

  • @rstechnology913
    @rstechnology913 6 років тому

    very good bro!!

  • @kajalyadav3440
    @kajalyadav3440 5 років тому

    Is it possible to set vedio in excelsheet's background ??
    Please let me know..

  • @SahitiSeemakurti
    @SahitiSeemakurti 9 років тому +1

    how can i do this in WPF application instead of WindowsForms Application?

  • @Ryupping
    @Ryupping 5 років тому

    it plays mp3 files but not mp4 or wmv files can you help me with that? is that has something to do with extensions? and im missing something?

  • @ItsEverythingElse
    @ItsEverythingElse 8 років тому +10

    Terrible demo. Takes you 30 seconds to select one check box. 10 tries to resize a window. This video could have been half the length it is.

  • @kiszatay6149
    @kiszatay6149 4 роки тому

    can you lchoose the video file to be shown in the actual code.

  • @rdvanakgun9823
    @rdvanakgun9823 7 років тому

    i have a question i was to do a playlist. I wantto auto pass when the finish music. How can i write ?

  • @mudanenadaara
    @mudanenadaara 8 років тому

    Hi, can this be done on asp.net using the same codes here?

  • @axelp6521
    @axelp6521 8 років тому

    Good this helped

  • @thabotsotetsi6877
    @thabotsotetsi6877 9 років тому

    THNX

  • @shabhimaqsood7205
    @shabhimaqsood7205 5 років тому

    can you please tell me how to make own video collage using images in c#

  • @ghaniaarshad8245
    @ghaniaarshad8245 8 років тому

    can u help in in encoding the data in wave audio file ?

  • @EliAxel
    @EliAxel 5 років тому

    How to add the music picture (when u play a song the album photo appears) to a windows form?

  • @VirusNew17
    @VirusNew17 Рік тому

    Делаю всё как на видео, в панели элементов он всё равно не появляется.

  • @kishorekaturi4137
    @kishorekaturi4137 11 років тому

    how to embed the equalizer in windows media player??? plz reply

  • @tomyslx
    @tomyslx 8 років тому +1

    thx bro!

  • @WanzulkifliMys
    @WanzulkifliMys 8 років тому

    how can I make the music is already being save in the code without have to choose the file?
    cause my app is design special for the blind people
    thank you

  • @Shanbasqanmoment
    @Shanbasqanmoment 5 років тому

    very nice my FRIEEENDD
    XD

  • @jorlanbanatao9597
    @jorlanbanatao9597 5 років тому

    how to add video in sharp develop windows application?

  • @romanmotoki8474
    @romanmotoki8474 9 років тому

    An unhandled exception of type 'System.Windows.Forms.AxHost.InvalidActiveXStateException' occurred in AxInterop.WMPLib.dll

  • @RabiulawaalRipon
    @RabiulawaalRipon 7 років тому

    how to auto play next media from listbox c# form??

  • @nguyenminhvu782
    @nguyenminhvu782 10 років тому

    thank u :)

  • @tirolocomcleod
    @tirolocomcleod 3 роки тому

    What if I wanted a song to loop?

  • @unicomp5705
    @unicomp5705 8 років тому

    What about moving the video forward frame by frame? Anyone know????? Mike in LA, Calif, USA

  • @processcoding
    @processcoding 4 роки тому

    All at of copy

  • @yesyouarerightbut3200
    @yesyouarerightbut3200 5 років тому

    Why are you very slow?

  • @alfredmatuta3076
    @alfredmatuta3076 3 роки тому

    To be a programmer is not a jock more especiary c#

  • @SamChaneyProductions
    @SamChaneyProductions 2 роки тому

    My program crashes when I set the URL (as you show at 5:57) with code 3221225477 (0xc0000005) 'Access violation'