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

In case I do handles.activex2.URL = "something .mp4" But I wanted to know how I can pause, and unpause the video ... Thank you

1 件のコメント

MOHIT
MOHIT 2015 年 5 月 23 日
hi... I am unable to play any video. in attached GUI, can u help?

サインインしてコメントする。

 採用された回答

Luis Carlos
Luis Carlos 2014 年 9 月 12 日

2 投票

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?

質問済み:

2014 年 9 月 12 日

コメント済み:

2015 年 5 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by