Commit graph

1213 commits

Author SHA1 Message Date
Pas
6997acd71a add trailer carousel to details modal 2025-12-01 17:43:44 -07:00
Pas
be6aec2c86 Refactor MediaCard for internal lazy loading and fix intersection logic
Moved intersection observer logic for lazy loading images from MediaCarousel into MediaCard, allowing each card to handle its own image loading. Simplified MediaCarousel by removing its intersection observer and related loading state, improving component separation and maintainability.
2025-12-01 16:15:45 -07:00
Pas
b875bc93aa add granite subtitle source 2025-12-01 15:35:32 -07:00
Pas
03d74e4ecd Revert "Inject popup ad for xprime sources"
This reverts commit b6be227ab3.
2025-11-30 11:14:12 -07:00
Pas
b6be227ab3 Inject popup ad for xprime sources
Xprime's own site has ads, but people have found pstream (which doesnt have ads) and moves here since there are no ads. Xprime is losing money and is finding it difficult to support the proxies and servers.

clean up ad for xprime when switching sources or destroying player

new method for tracking if ad is shown

Revert "Track XPrime ad script load state in player"

This reverts commit c50bdd9ad8.

Track XPrime ad script load state in player

Adds xprimeAdScriptLoaded state and setter to the player store. Updates XPrimeAdOverlay to only show when the ad script is loaded, and base display logic to set the load state based on script events. This ensures the overlay only appears when the ad script is ready.

remove infinite loop

When conditions are met → show becomes true → timer starts
Timer fires after 5s → show becomes false
Effect re-runs (because show changed) → show becomes true again → new timer starts
Loop repeats infinitely

Refactor XPrime ad injection so it loads when the source changes
2025-11-30 11:14:03 -07:00
Pas
c6182e6ebb simplify scrolling and cleanup some bugs 2025-11-26 12:59:40 -07:00
Pas
4151b2fdec add gradient to top and bottom 2025-11-26 12:52:41 -07:00
Pas
64abb25560 move to captions view 2025-11-26 12:33:24 -07:00
Pas
19af760317 Update TranscriptView.tsx 2025-11-26 12:26:00 -07:00
Pas
c74fbe385d Revert "Move to correct menu"
This reverts commit 5caae343df.
2025-11-26 12:23:19 -07:00
Isra
5caae343df Move to correct menu 2025-11-25 09:11:28 +08:00
Isra
d2acf73793 Merge branch 'production' of https://github.com/zisra/p-stream into production 2025-11-24 17:23:18 +08:00
Isra
7ae3c324b7 Proper scrolling 2025-11-24 17:23:17 +08:00
zisra
7ca6d31fb5
Merge branch 'p-stream:production' into production 2025-11-24 17:15:26 +08:00
Pas
c329118e50 Handle device name decryption errors gracefully
Added error handling for device name decryption in Avatar, LinksDropdown, Settings, and DeviceListPart components. If decryption fails, a fallback 'Unknown device' message is shown using a new translation key. This improves user experience by preventing crashes or blank fields when device name decryption fails.
2025-11-17 13:30:25 -07:00
Pas
a76f25fcea make watchparty use new nickname instead of account id 2025-11-17 13:08:58 -07:00
Isra
a6ecf826a6 Trancript view (incomplete) 2025-11-13 10:28:44 +08:00
Pas
467c4ea202 Revert "feat: hide the arrow buttons on scroll lists when at either end of the list (#61)"
This reverts commit 598f752b12.
2025-11-12 12:07:57 -07:00
Rj Manhas
598f752b12
feat: hide the arrow buttons on scroll lists when at either end of the list (#61) 2025-11-12 12:03:10 -07:00
zisra
a14b3755cf
Handle backtick command earlier + Ignore commands when cmd/atl is pressed + prevent -0.0 as subtitle delay (#62)
* Use 12 hour clock + box around time

* Fix ref

* Handle backtick earlier + Ignore commands when cmd/atl is pressed + prevent -0.0 as subtitle delay

* Exclude thumbnail from fade effect

* Bring back comments
2025-11-12 12:02:41 -07:00
Isra
2718de34eb Bring back comments 2025-11-12 13:26:07 +08:00
zisra
d4f705c599
Merge branch 'p-stream:production' into production 2025-11-12 13:24:57 +08:00
Pas
8d8a5bdb66 Revert "feat: hide the arrow buttons on scroll lists when at either end of the list"
This reverts commit 4f781f9736.
2025-11-11 12:41:12 -07:00
Pas
ea7caa20d9 Refactor Native Subtitles feature. Fix playback on ios 2025-11-11 11:46:46 -07:00
Pas
0baa20ba7a
Update KeyboardEvents.tsx 2025-11-10 20:20:20 -07:00
Isra
8ee39a2774 Exclude thumbnail from fade effect 2025-11-11 09:26:31 +08:00
Pas
62772b6bd6 Merge branch 'pr/63' into production 2025-11-10 15:04:29 -07:00
Pas
cb1964492e adjust confidence based on adjustments to prior skip 2025-11-10 14:55:13 -07:00
groknt
b33f54e960
fix spacebar boost 2025-11-10 21:53:32 +00:00
Pas
fcf9fbb56e add skip confidence 2025-11-10 14:52:31 -07:00
Pas
aeb131b26d Update SkipTracker.tsx 2025-11-10 14:39:47 -07:00
Pas
7e508cb513 fix subtitle delay getting reset when double pressing to copy 2025-11-10 13:57:46 -07:00
Pas
1c9f02ba8e fix native captions being initialized wrong for mp4 2025-11-10 13:45:05 -07:00
Pas
235a6998db show check for pasted subtitle option 2025-11-10 12:32:40 -07:00
Pas
b5b53a90f5 add velora skip api 2025-11-10 10:58:38 -07:00
Isra
9da140444c Handle backtick earlier + Ignore commands when cmd/atl is pressed + prevent -0.0 as subtitle delay 2025-11-09 21:23:53 -07:00
Pas
67aba5f7af give detailsmodal the flare border 2025-11-09 16:22:46 -07:00
Pas
bc7886caac add comment about safari thumbnails not build possible 2025-11-09 15:16:08 -07:00
Pas
b8ca5c3f02 Shuffle thumbnail generation queue for even distribution
Updated makeQueue to shuffle thumbnail indices before mapping them to positions, ensuring a more even and randomized distribution of thumbnails.
2025-11-09 15:10:11 -07:00
Pas
bd491f2d14 Improve thumbnail generation and quality selection
Refactors thumbnail queue to generate 127 evenly distributed thumbnails instead of using a layered approach. Adds a new selectLowestQuality function to consistently select the lowest available video quality for thumbnail extraction, replacing the previous selectQuality usage.
2025-11-09 15:02:27 -07:00
Pas
c7dcec2560 Improve autoplay handling after PiP and fullscreen on iOS
Adds logic to attempt autoplay when entering Picture-in-Picture or fullscreen modes, particularly to address autoplay restrictions on iOS. Introduces a flag to track if autoplay should be retried after loading, and ensures the UI updates appropriately if autoplay remains blocked.
2025-11-09 13:48:28 -07:00
Pas
3b5a1bb76e Remove word override "i"
Removed hard-coded "i" -> "I" override as it's language-specific and breaks languages like Polish where "i" means "and"
2025-11-09 12:53:23 -07:00
Pas
0c08052b8f remove top and bottom controls when caption bg blur is disabled to prevent hdr flicker
Updated TopControls and BottomControls to render the background gradient transitions only if backgroundBlurEnabled is true in the subtitle store. This ensures the UI matches the subtitle styling preferences.
2025-11-09 12:47:47 -07:00
Pas
ebfa034cb2 fix native subtitle streaming 2025-11-09 12:21:12 -07:00
Pas
04b6368a1d include delay in copy/paste subtitle feature 2025-11-09 10:50:53 -07:00
Pas
544fe97c5e refactor scrolling with a reusable component 2025-11-08 11:32:57 -07:00
Pas
1199a21df5 fix reorder sources button on player 2025-11-08 11:27:24 -07:00
Rj Manhas
4f781f9736 feat: hide the arrow buttons on scroll lists when at either end of the list 2025-11-07 22:21:34 -07:00
Pas
cd4daea6f3 prettier 2025-11-07 16:50:35 -07:00
Pas
2017cb2f26 Merge branch 'production' into dev 2025-11-07 16:36:57 -07:00