필터 지우기
필터 지우기

How do I stop or pause a video in MatLab GUI ActiveX Windows Media Player?

조회 수: 4 (최근 30일)
In case I do handles.activex2.URL = "something .mp4" But I wanted to know how I can pause, and unpause the video ... Thank you

채택된 답변

Luis Carlos
Luis Carlos 2014년 9월 12일
I could solve it was just to do the following in the callback of the button:
%stop button
handles.activex2.controls.stop ();
%pause button
handles.activex2.controls.pause ();
%play button
handles.activex2.controls.play ();
  댓글 수: 1
Amirhosein Ghenaati
Amirhosein Ghenaati 2014년 11월 6일
thanks very much for your complete answer it was my problem which you have solved here

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Amirhosein Ghenaati
Amirhosein Ghenaati 2014년 11월 20일
how to change volume
i used controls to play and pause but i can not change volume
handles.activex1.controls.play();
handles.activex1.controls.pause();
handles.activex1.controls.stop();
how can I change volume and progress video bar?

카테고리

Help CenterFile Exchange에서 ActiveX에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by