Skip to content

Commit

Permalink
domains: review TED.com's support of languages
Browse files Browse the repository at this point in the history
  • Loading branch information
iparamonau committed Feb 13, 2025
1 parent 33dd1a5 commit 9af574d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/domains/ted.com/ted.com.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ export default {
"favicon",
"oembed-author",
"oembed-canonical",
"og-description",
"oembed-description",
"keywords",
"oembed-site",
"og-title",
"oembed-title",
"embedurl",
'embedurl-meta'
],
Expand Down
2 changes: 1 addition & 1 deletion plugins/domains/ted.com/ted.playlists.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {

if (/\/playlists\//.test(og.url)) {
return {
href: og.url.replace(/^https?:\/\/(www\.)?/i, "https://embed-ssl.").replace(/\?[^\/]+$/, ''),
href: og.url.replace(/^https?:\/\/(www\.)?/i, "https://embed.").replace(/\?[^\/]+$/, ''),
accept: CONFIG.T.text_html,
rel: CONFIG.R.player,
// defaault "aspect-ratio"
Expand Down

0 comments on commit 9af574d

Please sign in to comment.