mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix a typo in the url
This commit is contained in:
parent
687771f676
commit
29776359f2
1 changed files with 1 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ export class YoutubeHandler extends ContentHandler {
|
|||
return {}
|
||||
}
|
||||
urlToEncode = `${BaseUrl}/watch?v=${videoId}`
|
||||
src = `${embedBaseUrl}/embed/${videoId}`
|
||||
src = `${embedBaseUrl}/${videoId}`
|
||||
}
|
||||
|
||||
const oembedUrl =
|
||||
|
|
@ -65,7 +65,6 @@ export class YoutubeHandler extends ContentHandler {
|
|||
thumbnail_url: string
|
||||
author_name: string
|
||||
author_url: string
|
||||
provider_name: string
|
||||
}
|
||||
// escape html entities in title
|
||||
const title = oembed.title
|
||||
|
|
|
|||
Loading…
Reference in a new issue