fix: Passing of start parameter to YouTube embed
This commit is contained in:
@@ -9,6 +9,12 @@ describe("YouTube", () => {
|
||||
).toBeTruthy();
|
||||
});
|
||||
|
||||
test("to be enabled on video link with timestamp", () => {
|
||||
expect(
|
||||
"https://www.youtube.com/watch?v=dQw4w9WgXcQ&t=123s".match(match)
|
||||
).toBeTruthy();
|
||||
});
|
||||
|
||||
test("to be enabled on embed link", () => {
|
||||
expect(
|
||||
"https://www.youtube.com/embed?v=dQw4w9WgXcQ".match(match)
|
||||
|
||||
Reference in New Issue
Block a user