bsky-app/__tests__/lib
Hailey fedb94dd70
3rd party embed player (#2217)
* Implement embed player for YT, spotify, and twitch

* fix: handle blur event

* fix: use video dimensions for twitch

* fix: remove hack (?)

* fix: remove origin whitelist (?)

* fix: prevent ads from opening in browser

* fix: handle embeds that don't have a thumb

* feat: handle dark/light mode

* fix: ts warning

* fix: adjust height of no-thumb label

* fix: adjust height of no-thumb label

* fix: remove debug log, set collapsable to false for player view

* fix: fix dimensions "flash"

* chore: remove old youtube link test

* tests: add tests

* fix: thumbless embed position when loading

* fix: remove background from webview

* cleanup embeds (almost)

* more refactoring

- Use separate layers for player and overlay to prevent weird sizing issues
- Be sure the image is not visible under the player
- Clean up some

* cleanup styles

* parse youtube shorts urls

* remove debug

* add soundcloud tracks and sets (playlists)

* move logic into `ExternalLinkEmbed`

* border radius for yt player on native

* fix styling on web

* allow scrolling in webview on android

* remove unnecessary check

* autoplay yt on web

* fix tests after adding autoplay

* move `useNavigation` to top of component

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-21 14:33:46 -08:00
..
__mocks__ Merge main into the Web PR (#230) 2023-02-22 14:23:57 -06:00
async Merge main into the Web PR (#230) 2023-02-22 14:23:57 -06:00
strings Fixes 1731, compare URLs case-insensitive (#1980) 2023-11-22 17:20:35 -06:00
errors.test.ts Merge main into the Web PR (#230) 2023-02-22 14:23:57 -06:00
extractHtmlMeta.test.ts Merge main into the Web PR (#230) 2023-02-22 14:23:57 -06:00
images.test.ts Implement image uploading in the web composer 2023-02-23 16:02:31 -06:00
link-meta.test.ts Use proxy for fetching link meta (#716) 2023-05-30 20:08:49 -05:00
numbers.test.ts Unit testing (#32) 2022-12-22 09:32:39 -06:00
string.test.ts 3rd party embed player (#2217) 2023-12-21 14:33:46 -08:00