Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
In case I do handles.activex2.URL = "something .mp4" But I wanted to know how I can pause, and unpause the video ... Thank you

Respuesta aceptada

Luis Carlos
Luis Carlos el 12 de Sept. de 2014
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 ();

Más respuestas (1)

Amirhosein Ghenaati
Amirhosein Ghenaati el 20 de Nov. de 2014
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?

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by