How to stop a YouTube video? #4149
thepunkduck
started this conversation in
General
Replies: 1 comment
-
You can interact with the browser via I believe |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
supportLabel: support
Hello!
I am using CefSharp.WinForms.ChromiumWebBrowser in my win forms app. It's in a very simple form, which is activated from a 'help' menu item.
I've managed to get the video to load and play back perfectly.
When the form is then hidden from view, I want the video playback to stop. I don't want to destroy the form, because the user might want to resume watching from where they left off!
Is there any way to programmatically stop the video? I've spend all day trying to find the answer!
Many thanks!
Here's my code (very simple!)
In use:
PD
Beta Was this translation helpful? Give feedback.
All reactions