- Open a web page in a browser.
- Get the duration of the video by parsing the HTML code. (Hint: find the element that stores the duration of the video in the html tree using findElement).
- Schedule the execution of the command to close the browser window using Timer.
How to play a Youtube video in MatLab programming and then close the browser?
조회 수: 10(최근 30일)
표시 이전 댓글
Can you please tell me how to play a Youtube video Matlab programming and then close the browser as soon as the video has been completly played?
Many thanks in advance.
댓글 수: 0
답변(1개)
Abhishek Gupta
2020년 12월 17일
Hi,
As per my understanding, you want to open and close a youtube video using MATLAB. This task can be divided into the following steps: -
Also, referring to the following MATLAB Answers, which might help you in achieving the goal: -
댓글 수: 2
참고 항목
범주
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!