diff options
Diffstat (limited to 'utils.js')
-rw-r--r-- | utils.js | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -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 |