Skip to content

Commit

Permalink
tests: add more test URLs (#568)
Browse files Browse the repository at this point in the history
* test: add some urls to players.brightcove.net

* simplecast.com: add more test urls
  • Loading branch information
siniakinaa authored Dec 5, 2024
1 parent 8fcfe5f commit a47ca6f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
11 changes: 8 additions & 3 deletions plugins/domains/brightcove.com/players.brightcove.net.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,13 @@ export default {
},

tests: [{skipMixins:['oembed-error']},
"http://players.brightcove.net/pages/v1/index.html?accountId=5660549837001&playerId=default&videoId=6303785895001&mode=iframe"
// But sometimes thumbnail aspect is actually incorrect while oembed default is correct:
// https://players.brightcove.net/5132998173001/default_default/index.html?videoId=5795255604001
"http://players.brightcove.net/pages/v1/index.html?accountId=5660549837001&playerId=default&videoId=6303785895001&mode=iframe",
"https://players.brightcove.net/18140073001/65fa926a-0fe0-4031-8cbf-9db35cecf64a_default/index.html?videoId=6364938310112",
"https://players.brightcove.net/18140073001/default_default/index.html?videoId=6364938310112",
"https://players.brightcove.net/77374810001/o4XU32Njq_default/index.html?videoId=5489016803001",

// But sometimes thumbnail aspect is actually incorrect while oembed default is correct (1920x1061):
"https://players.brightcove.net/665003303001/6tKQRAx7lu_default/index.html?videoId=6360308130112",
"https://players.brightcove.net/665003303001/default_default/index.html?videoId=6360308130112"
]
};
7 changes: 6 additions & 1 deletion plugins/domains/simplecast.com.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ export default {
},

tests: [
"https://tgd.simplecast.com/episodes/dan-blackman-and-robyn-kanner-the-power-7fe152f4"
"https://tgd.simplecast.com/episodes/dan-blackman-and-robyn-kanner-the-power-7fe152f4",
"https://i4ctrouble.simplecast.com/episodes/ep-168-a-goodbye-for-now-cZRPJJkH",
"https://web3-with-a16z.simplecast.com/episodes/prediction-markets-information-aggregation-mechanisms",
"https://a-satellite-view.simplecast.com/episodes/theyre-off-to-a-cataclysmically-bad-start-for-all-the-world-to-see",
"https://the-smerconish-podcast.simplecast.com/episodes/todays-poll-question-should-joe-have-pardoned-hunter",

/*
http://bikeshed.fm/54
http://bikeshed.fm/57
Expand Down

0 comments on commit a47ca6f

Please sign in to comment.