diff --git a/src/scripts/ytContent.tsx b/src/scripts/ytContent.tsx index 91d3ba9..4d41de4 100644 --- a/src/scripts/ytContent.tsx +++ b/src/scripts/ytContent.tsx @@ -49,7 +49,11 @@ import { getExtensionSettingsAsync, getSourcePlatfromSettingsFromHostname, getTa fontSize: '14px', textDecoration: 'none', ...target.platform.button.style?.button, - }}> + }} + onClick={() => findVideoElementAwait().then((videoElement) => { + videoElement.pause() + })} + > {target.platform.button.text}