From 0c3bb5e882bac7524808fc2294d19d9e088ff459 Mon Sep 17 00:00:00 2001 From: saseungmin Date: Wed, 18 Jun 2025 21:12:57 +0900 Subject: [PATCH] chore: remove console.log --- src/YoutubePlayer.tsx | 4 ---- src/YoutubePlayer.web.tsx | 1 - 2 files changed, 5 deletions(-) diff --git a/src/YoutubePlayer.tsx b/src/YoutubePlayer.tsx index 2160411..5780a0c 100644 --- a/src/YoutubePlayer.tsx +++ b/src/YoutubePlayer.tsx @@ -54,8 +54,6 @@ const YoutubePlayer = forwardRef( try { const data = JSON.parse(event.nativeEvent.data) as MessageData; - console.log('handleMessage', data); - if (data.type === 'ready') { const { playerInfo } = data; @@ -160,8 +158,6 @@ const YoutubePlayer = forwardRef( window.__execCommand && window.__execCommand(${JSON.stringify(commandData)}); true; `; - console.log('Sending command:', command, injectedJS); - webViewRef.current?.injectJavaScript(injectedJS); if (!needsResult) { diff --git a/src/YoutubePlayer.web.tsx b/src/YoutubePlayer.web.tsx index 19323c2..03e35ca 100644 --- a/src/YoutubePlayer.web.tsx +++ b/src/YoutubePlayer.web.tsx @@ -194,7 +194,6 @@ const YoutubePlayer = forwardRef( }, onStateChange: (event) => { const state = event.data; - console.log('YouTube player state changed:', state); onStateChange?.(state); if (state === PlayerState.ENDED) {