Skip to content

Commit

Permalink
update styling
Browse files Browse the repository at this point in the history
  • Loading branch information
DevonRD committed Mar 20, 2024
1 parent 941c653 commit 951661d
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions photon-client/src/components/app/photon-camera-stream.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,14 @@ const handleFullscreenRequest = () => {
const mjpgStream: any = ref(null);
onBeforeUnmount(() => {
if (!mjpgStream.value) return
if (!mjpgStream.value) return;
mjpgStream.value["src"] = null;
});
</script>

<template>
<div class="stream-container">
<img
:id="id"
crossorigin="anonymous"
:src="streamSrc"
:alt="streamDesc"
:style="streamStyle"
ref="mjpgStream"
/>
<img :id="id" crossorigin="anonymous" :src="streamSrc" :alt="streamDesc" :style="streamStyle" ref="mjpgStream" />
<div class="stream-overlay" :style="overlayStyle">
<pv-icon
icon-name="mdi-camera-image"
Expand Down

0 comments on commit 951661d

Please sign in to comment.