Skip to content

Commit

Permalink
Merge pull request #19 from baltermia/fix-mobile
Browse files Browse the repository at this point in the history
Add 'muted' & 'playsinline' attributes to '<video>' tag in Component
  • Loading branch information
baltermia authored May 16, 2023
2 parents f8f3617 + 6d4767e commit f5d4771
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions BlazorCameraStreamer/BlazorCameraStreamer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>BlazorCameraStreamer</RootNamespace>
<PackageId>BlazorCameraStreamer</PackageId>
<Version>2.1.2</Version>
<Version>2.2.0</Version>
<Authors>Baltermia Clopath</Authors>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<RepositoryUrl>https://github.com/baltermia/blazor-camera-streamer/</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Description>A Blazor Component library that adds a easy-to-use camera-streaming functionality, which allows you to receive the streamed data.</Description>
<PackageReleaseNotes>Added SignalR message-size cap bypass to readme.</PackageReleaseNotes>
<PackageReleaseNotes>Fix Component not working correctly on Mobile devices.</PackageReleaseNotes>
<Copyright>Copyright (c) 2023 Baltermia Clopath</Copyright>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<AssemblyName>BlazorCameraStreamer</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion BlazorCameraStreamer/Components/CameraStreamer.razor
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@namespace BlazorCameraStreamer

<video @ref="VideoRef" style="@Style" class="@Class" id="@Id" />
<video @ref="VideoRef" style="@Style" class="@Class" id="@Id" muted playsinline />

0 comments on commit f5d4771

Please sign in to comment.