Skip to content

Commit

Permalink
fix(Camera): videoWidth/videoHeight not work (#3875)
Browse files Browse the repository at this point in the history
* fix: 修复宽高被覆盖问题

* chore: bump version 8.7.3-beta04
  • Loading branch information
ArgoZhang authored Jul 19, 2024
1 parent de0b00b commit 8ce03fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>8.7.3-beta03</Version>
<Version>8.7.3-beta04</Version>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
Expand Down
7 changes: 0 additions & 7 deletions src/BootstrapBlazor/Components/Camera/Camera.razor.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ const stopDevice = camera => {
}

const play = (camera, option = {}) => {
camera.video = {
...camera.video,
...{
videoWidth: 320,
videoHeight: 240
}
}
const constrains = {
...{
video: {
Expand Down

0 comments on commit 8ce03fe

Please sign in to comment.