Skip to content

Commit

Permalink
Merge pull request #885 from gagansuie/dev
Browse files Browse the repository at this point in the history
Fix: testing hidden paused video
  • Loading branch information
gagansuie authored Jan 26, 2024
2 parents eeab60a + c9c325d commit 4defc7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/components/Channel/Stream/VideoItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,9 @@
style="display:none" />
<video
bind:this={webrtc_video_element}
class="rounded-md w-full h-full"
class="rounded-md w-full h-full {video.isConnected && video.trackType === 'webrtc'
? ''
: 'hidden'}"
autoplay
controls />
{/if}
Expand Down

0 comments on commit 4defc7d

Please sign in to comment.