Skip to content

Commit 837309d

Browse files
committed
doc: 更新示例
1 parent c64dd86 commit 837309d

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

src/BootstrapBlazor.Server/Components/Samples/VideoDevices.razor

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ private IBluetooth? BluetoothService { get; set; }</Pre>
1717
<Button Text="@Localizer["VideoDeviceOpenText"]" Icon="fa-solid fa-play" OnClick="OnOpenVideo" class="ms-2"></Button>
1818
<Button Text="@Localizer["VideoDeviceCloseText"]" Icon="fa-solid fa-stop" OnClick="OnCloseVideo" class="ms-2"></Button>
1919
<Button Text="@Localizer["VideoDeviceCaptureText"]" Icon="fa-solid fa-camera" OnClick="OnCapture" class="ms-2"></Button>
20-
<Button Text="@Localizer["VideoDeviceFlipText"]" Icon="fa-solid fa-camera-rotate" OnClick="OnFlip" class="ms-2"></Button>
2120
</div>
2221
<div class="col-12">
2322
<Select Items="@_items" @bind-Value="_deviceId" DisplayText="Devices" ShowLabel="true"></Select>

src/BootstrapBlazor.Server/Components/Samples/VideoDevices.razor.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,4 @@ private async Task OnCapture()
5555
{
5656
_previewUrl = await VideoDeviceService.GetPreviewUrl();
5757
}
58-
59-
private async Task OnFlip()
60-
{
61-
await VideoDeviceService.Flip();
62-
}
6358
}

0 commit comments

Comments
 (0)