make iphone live view play in line

Fixes #133
This commit is contained in:
Scott Lamb 2024-08-21 21:52:05 -07:00
parent 140f625a80
commit 04b49f06db
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ even on minor releases, e.g. `v0.7.5` -> `v0.7.6`.
* bump minimum Rust version to 1.79.
* in UI's list view, add a tooltip on the end time which shows why the
recording ended.
* fix [#133](https://github.com/scottlamb/moonfire-nvr/issues/121):
iPhone live view.
## v0.7.16 (2024-05-30)

View File

@ -475,7 +475,7 @@ const LiveCamera = ({ mediaSourceApi, camera, chooser }: LiveCameraProps) => {
<Alert severity="error">{playbackState.message}</Alert>
</div>
)}
<video ref={videoRef} muted autoPlay />
<video ref={videoRef} muted autoPlay playsInline />
</Box>
);
};