🐛 (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

@@ -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