Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[Video] Throw error when playback fails (#5132)

authored by

Hailey and committed by
GitHub
d94ff269 dee28f37

+9
+9
src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx
··· 101 101 setTimeRemaining(secondsRemaining) 102 102 }, 103 103 ) 104 + const statusSub = player.addListener( 105 + 'statusChange', 106 + (status, _oldStatus, error) => { 107 + if (status === 'error') { 108 + throw error 109 + } 110 + }, 111 + ) 104 112 return () => { 105 113 volumeSub.remove() 106 114 timeSub.remove() 115 + statusSub.remove() 107 116 } 108 117 }, [player]) 109 118