Skip to content

Commit f160f0e

Browse files
authored
Merge pull request #116 from ndaidong/v2.0.2
v2.0.2
2 parents df895c7 + 285feeb commit f160f0e

File tree

3 files changed

+26
-9
lines changed

3 files changed

+26
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Extract eEmbed content from given URL.
2121
```bash
2222
$ npm install oembed-parser
2323

24-
# or pnpm
24+
# pnpm
2525
$ pnpm install oembed-parser
2626

27-
# or yarn
27+
# yarn
2828
$ yarn add oembed-parser
2929
```
3030

src/utils/providers.backup.json

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,9 +1049,9 @@
10491049
"http://*.flickr.com/photos/*",
10501050
"http://flic.kr/p/*",
10511051
"https://*.flickr.com/photos/*",
1052+
"https://flic.kr/p/*",
10521053
"https://*.*.flickr.com/*/*",
1053-
"http://*.*.flickr.com/*/*",
1054-
"https://flic.kr/p/*"
1054+
"http://*.*.flickr.com/*/*"
10551055
],
10561056
"url": "https://www.flickr.com/services/oembed/",
10571057
"discovery": true
@@ -3114,6 +3114,22 @@
31143114
}
31153115
]
31163116
},
3117+
{
3118+
"provider_name": "Synthesia",
3119+
"provider_url": "https://www.synthesia.io/",
3120+
"endpoints": [
3121+
{
3122+
"schemes": [
3123+
"https://share.synthesia.io/*"
3124+
],
3125+
"url": "https://69jr5v75rc.execute-api.eu-west-1.amazonaws.com/prod/v2/oembed",
3126+
"formats": [
3127+
"json"
3128+
],
3129+
"discovery": true
3130+
}
3131+
]
3132+
},
31173133
{
31183134
"provider_name": "TED",
31193135
"provider_url": "https://www.ted.com",
@@ -3685,7 +3701,7 @@
36853701
},
36863702
{
36873703
"provider_name": "WordPress.com",
3688-
"provider_url": "http://wordpress.com/",
3704+
"provider_url": "https://wordpress.com/",
36893705
"endpoints": [
36903706
{
36913707
"schemes": [

src/utils/providers.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@
5656
"schemes": [
5757
"https://v.afree.ca/ST/",
5858
"https://vod.afreecatv.com/ST/",
59-
"https://vod.afreecatv.com/PLAYER/STATION/"
59+
"https://vod.afreecatv.com/PLAYER/STATION/",
60+
"https://play.afreecatv.com/"
6061
],
61-
"url": "https://openapi.afreecatv.com/vod/embedinfo",
62+
"url": "https://openapi.afreecatv.com/oembed/embedinfo",
6263
"discovery": true
6364
}
6465
]
@@ -2500,7 +2501,7 @@
25002501
"http://play.radiopublic.com/*",
25012502
"http://radiopublic.com/*",
25022503
"http://www.radiopublic.com/*",
2503-
"https://*.radiopublic.com/*'"
2504+
"https://*.radiopublic.com/*"
25042505
],
25052506
"url": "https://oembed.radiopublic.com/oembed",
25062507
"discovery": true
@@ -3792,4 +3793,4 @@
37923793
}
37933794
]
37943795
}
3795-
]
3796+
]

0 commit comments

Comments
 (0)