I would like to send to another app current frame (number). Is it possible to access it in axWindowsMediaPlayer control?
We can switch back from a frame to default in Selenium webdriver using the switchTo(). defaultContent() method. Initially, the webdriver control remains on the main web page. In order to access elements within the frame, we have to shift the control from the main page to the frame with the help of the switchTo().
I didn't see anything about this on axWindowsMediaPlayer control.
But you can use FrameGrabber project to extract frames from a movie. FrameGrabber is an open-source library written in c# and it is easy to use.
Hope this helps.
This may be an old thread, but I feel like the question did not properly get answered. This may not be the "frame number" but it does give you a "position" of the video that you could pass. I am using it to sync two videos. This is for a media player that has already been added to a VB form called AxWindowsMediaPlayer1. I am sure something similar can be called in C#
Dim position As Double
position = AxWindowsMediaPlayer1.Ctlcontrols.currentPosition
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With