feat: sqlite video player (#19792)

* feat: video player

* use remote asset id in local query

* fix: error from pre-caching beyond total assets

* fix: flipped local videos

* incorrect aspect ratio on iOS

* ignore other storage id during equals check

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong 2025-07-09 20:04:25 +05:30 committed by GitHub
parent 51ab7498e9
commit dfe6d27bbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 832 additions and 82 deletions

View file

@ -16,7 +16,8 @@ mergedAsset: SELECT * FROM
rae.is_favorite,
rae.thumb_hash,
rae.checksum,
rae.owner_id
rae.owner_id,
0 as orientation
FROM
remote_asset_entity rae
LEFT JOIN
@ -37,7 +38,8 @@ mergedAsset: SELECT * FROM
lae.is_favorite,
NULL as thumb_hash,
lae.checksum,
NULL as owner_id
NULL as owner_id,
lae.orientation
FROM
local_asset_entity lae
LEFT JOIN