Tutorial: Simple video player using WPF/C#
How to make a simple video player using WPF/C# Programs used: -Visual Studio professional 2010 (2008 should work as well) -Visual Studio Express C# 2008/2010 should work. Sorry for the small text as well, watch in at-least 420p or you will have a hard time reading. My Blog: zahidakbar.wordpress.com The movie i play in the program is called “Snowblind”. its a free movie, you can support/view it here: www.snowblind-film.com Sorry for the sighs and the breathing, this is my first ever tutorial and i had the mic too close to my nose Visit my blog at: zahidakbar.wordpress.com
Video Tutorial Rating: 4 / 5
Don’t forget to check out our other video tutorials or share this video with a friend.
24 responses to “Tutorial: Simple video player using WPF/C#”
Leave a Reply Cancel reply
Video Tutorials
Bringing you the best video tutorials for Photoshop, Illustrator, Fireworks, WordPress, CSS and others.
Video tutorial posted 29/01/13
Pages
Random Videos
-
Adobe Photoshop Tutorial (Removing Background)
2,993 views
-
WordPress for Your Website – Tutorial #1
3,228 views
-
Vray Metal material tutorial in 3ds Max
2,943 views
Video Categories
- 3DS Max Tutorials (150)
- After Effects Tutorials (160)
- C# Tutorials (121)
- Colour (6)
- Crazy Effects (1)
- CSS Tutorials (120)
- Dreamweaver Tutorials (139)
- Excel Tutorials (127)
- Featured (10)
- Fireworks Tutorials (131)
- General Effects (9)
- HTML Tutorials (143)
- Illustration and Vector (1)
- Illustrator Tutorials (174)
- IMove Tutorials (119)
- Lightroom Tutorials (145)
- People and Faces (3)
- Photoshop Tutorials (169)
- Text Effects (7)
- Uncategorized (32)
- WordPress Tutorials (140)
Tags
VideoTutorials.co.uk
-
Videotutorials.co.uk offers the web's best Photoshop tutorials, Illustrator video guides, CSS and HTML tutorials and much more all in one place. With new videos being added every day, you can learn how to master software and code to give your images and website some great effects.
Our site has beginner, intermediate and advanced video tutorials of varying lengths so you can learn a new skill at your own speed and level. So whether you're a web designer, print designer or just wanting to edit some family photos, you can get to it quickly and easily using these free video guides. (more)
if you want to start creating a full featured and profitable website, I have the solution for you. This is the absolutely the best wordpress training you’ll find. grab it now!. I uploaded a sneak peek from the training course on my channel.. go to: ==> /watch?v=uPQ2ZPQEFdU <-- or visit my channel
Oh hai! want to generate sales on youtube? I use a method that uses YOUTUBE in order to generate traffic and more conversions. just go here: /watch?v=0NI3mbU_4G8
@mofoxa53 all my friends thought i was stupid for buying all these courses. i literally spent all the money i had in my efforts to find out how to earn money online. i thank my luck though because i managed to learn tons and ended up finding a goldmine course which allowed me to quit my J.O.B. but i am gonna help you cause i am a kind man so if you really want to succeed online search on YTube for an amazing video called: “V2 Marketing Course”
mam 3 błędy a robię wszystko jak na filmie
there are no headers in c#
try/catch block in the play buttons code
There are a lot of reasons as to why that maybe, need more of a explanation to help, but are you sure its not disabled?
hello, I have a question, the media element object is grayed out, do you have any ideas on what to do?
If it is no media opened and i press play or any button it crashes how do i fix that?
hello can u plz tell me what header files did u add here , before writing code
Thanks Man!
Oh, and Clear the Seek Slider’s OnValueChange event
If have fixed the Laggy problem in the Video player.
Leave the whole application as in the video? But as you mentioned, add the Seek_Slider’s PreviewMouseDown and PreviewMouseUp events.
In the MouseUp Event Put:
mediaElement1.Position = TimeSpan.FromSeconds(Seek.Value);
Seek.Value = mediaElement1.Position.TotalSeconds;
Timer.IsEnabled = true;
And in the MouseDown Event put:
Timer.IsEnabled = false;
Works Perfectly for me.
gghgh
ghg
ghgh
gfg
how can i show youtube video in this app ?
I need a help in the track bar progress button
When you moving Seek slider it records every single step so video is laggy. You must change the value only on mouse up event. At first, you must ad condition to seek slider ValueChanged event (just add “if (sender is MainWindow)” on the first line of function). Then in seek slider events add event PreviewMouseUp where you put the same code as in ValueChanged(but without condition). New problem is that slider is moved by timer when you moving it (but can be easily repaired).
Depends on the codecs on your computer, if windows media player can play it, this should be able to.
Does it only play .avi files?
Great work……..
sorry work cool <3 love u awsome !