aboutsummaryrefslogtreecommitdiffhomepage
path: root/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'utils.js')
-rw-r--r--utils.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/utils.js b/utils.js
index 3e7fc7b5..dfc515f7 100644
--- a/utils.js
+++ b/utils.js
@@ -23,15 +23,4 @@ function getYouTubeVideoID(url) {
return false;
}
}
-}
-
-//returns the start time of the video if there was one specified (ex. ?t=5s)
-function getYouTubeVideoStartTime(url) {
- let searchParams = new URL(url).searchParams;
- let startTime = searchParams.get("t");
- if (startTime == null) {
- startTime = searchParams.get("time_continue");
- }
-
- return startTime;
-}
+} \ No newline at end of file