2
0

🐛 (video) Parse youtube start time query param

Closes #1589
This commit is contained in:
Baptiste Arnaud
2024-06-24 14:30:45 +02:00
parent 9c27ca9f40
commit b10383e027
8 changed files with 42 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@typebot.io/js",
"version": "0.2.91",
"version": "0.2.92",
"description": "Javascript library to display typebots on your website",
"type": "module",
"main": "dist/index.js",

View File

@@ -128,7 +128,9 @@ export const VideoBubble = (props: Props) => {
embedBaseUrls[
props.content?.type as EmbeddableVideoBubbleContentType
]
}/${props.content?.id}`}
}/${props.content?.id ?? ''}${
props.content?.queryParamsStr ?? ''
}`}
class={'w-full h-full'}
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen