Skip to content

Commit

Permalink
feat(web): add Video icon to camera selector on VideoPlayer component
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocroh committed May 19, 2024
1 parent 5defe58 commit cb70f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/components/video-player.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { forwardRef } from "react";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "./ui/select";
import { Mic } from "lucide-react";
import { Mic, Video } from "lucide-react";

type VideoPlayer = {
audioDevices: MediaDeviceInfo[]
Expand Down Expand Up @@ -53,7 +53,7 @@ export const VideoPlayer = forwardRef<HTMLVideoElement, VideoPlayer>(({
</Select>
<Select onValueChange={setActiveVideoDevice} value={activeVideoDevice}>
<SelectTrigger className="z-10 w-[180px]">
<SelectValue placeholder="Video" />
<Video /> <SelectValue placeholder="Video" />
</SelectTrigger>
<SelectContent>
{videoDevices.map((video) => {
Expand Down

0 comments on commit cb70f43

Please sign in to comment.