TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dhimesh Parmar
NA
126
14.6k
How to load video into winforms from folder resources?
May 15 2018 4:46 AM
Sir i have a use this code like
private
void
axWindowsMediaPlayer1_Enter(
object
sender, EventArgs e)
{
axWindowsMediaPlayer1.URL = @
"L:\about.mp4"
;
}
But my query is if click in 1 button then
private
void
button1_Click(
object
sender, EventArgs e)
{
axWindowsMediaPlayer1.URL = @
"E:/Song/Video/1.mp4"
;
axWindowsMediaPlayer1.Ctlcontrols.play();
}
and if click in 2 button then another video is play
private
void
button2_Click(
object
sender, EventArgs e)
{
axWindowsMediaPlayer1.URL = @
"E:/Song/Video/2.mp4"
;
axWindowsMediaPlayer1.Ctlcontrols.play();
}
but it not work i need help to solve this problem.
Reply
Answers (
1
)
i had a problem in reading pdf from external server .
How to load video into winforms from resources