BootstrapBlazor.VideoPlayer 7.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package BootstrapBlazor.VideoPlayer --version 7.0.0                
NuGet\Install-Package BootstrapBlazor.VideoPlayer -Version 7.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BootstrapBlazor.VideoPlayer" Version="7.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BootstrapBlazor.VideoPlayer --version 7.0.0                
#r "nuget: BootstrapBlazor.VideoPlayer, 7.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BootstrapBlazor.VideoPlayer as a Cake Addin
#addin nuget:?package=BootstrapBlazor.VideoPlayer&version=7.0.0

// Install BootstrapBlazor.VideoPlayer as a Cake Tool
#tool nuget:?package=BootstrapBlazor.VideoPlayer&version=7.0.0                

Blazor VideoPlayer 视频播放器 组件

示例:

https://blazor.app1.es/videoPlayers

使用方法:

1.nuget包

BootstrapBlazor.VideoPlayer

2._Imports.razor 文件 或者页面添加 添加组件库引用

@using BootstrapBlazor.Components

3.razor页面

<VideoPlayer SourcesType="application/x-mpegURL" SourcesUrl="https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8" Debug="true" />

<VideoPlayer SourcesType="video/mp4" SourcesUrl="//vjs.zencdn.net/v/oceans.mp4" />

4.参数说明

参数 说明 默认值
SourcesUrl 资源地址 null
SourcesType 资源类型,video/mp4, application/x-mpegURL, video/ogg .. 更多参考 EnumVideoType application/x-mpegURL
Width 宽度 300
Height 高度 200
Controls 显示控制条 true
Autoplay 自动播放 true
Poster 设置封面资源,相对或者绝对路径
Option 播放器选项, 不为空则优先使用播放器选项,否则使用参数构建 null
async Task Reload(string? url, string? type) 切换播放资源
async Task SetPoster(string? poster) 设置封面
Func<string, Task>? OnError 错误回调

Blazor 组件

条码扫描 ZXingBlazor nuget stats

图片浏览器 Viewer

条码扫描 BarcodeScanner

手写签名 Handwritten

手写签名 SignaturePad

定位/持续定位 Geolocation

屏幕键盘 OnScreenKeyboard

百度地图 BaiduMap

谷歌地图 GoogleMap

蓝牙和打印 Bluetooth

PDF阅读器 PdfReader

文件系统访问 FileSystem

光学字符识别 OCR

电池信息/网络信息 WebAPI

视频播放器 VideoPlayer

AlexChow

今日头条 | 博客园 | 知乎 | Gitee | GitHub

ChuanglinZhou

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on BootstrapBlazor.VideoPlayer:

Package Downloads
BlazorShared

BlazorMaui , 整合Blazor,BootstrapBlazor UI组件库,Maui的共享跨平台工程示例共享库

BootstrapBlazor.Densen.All

Blazor 组件懒人包

BootstrapBlazor.Shared

Package Description

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on BootstrapBlazor.VideoPlayer:

Repository Stars
dotnetcore/BootstrapBlazor
Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.
densen2014/BlazorMaui
用 c # 和 Razor 创建本机移动应用和桌面应用。使用 Blazor.BB.Maui,可以快速开发共享代码库运行于 Windows (Winforms/WPF/UWP)、Android、iOS、macOS 的应用。
densen2014/BlazorHybrid
关于BlazorHybrid的一切研究. 用 c # 和 Razor 创建本机移动应用和桌面应用。快速开发共享代码库运行于 Windows (Winforms/WPF/UWP)、Android、iOS、macOS、Linux 的应用。
Version Downloads Last updated
9.0.0 279 11/13/2024
9.0.0-beta02 71 11/7/2024
9.0.0-beta01 107 11/1/2024
8.0.7 862 9/22/2024
8.0.7-beta1 1,722 5/5/2024
8.0.6 2,688 12/9/2023
8.0.5 173 12/7/2023
8.0.4 153 12/7/2023 8.0.4 is deprecated because it is no longer maintained.
8.0.3 138 12/7/2023 8.0.3 is deprecated because it is no longer maintained.
8.0.2 141 12/7/2023 8.0.2 is deprecated because it is no longer maintained.
8.0.1 438 11/26/2023
8.0.0 667 11/15/2023
7.0.4 5,876 3/25/2023
7.0.3 1,195 2/2/2023
7.0.2 316 2/2/2023
7.0.1 1,597 12/16/2022
7.0.0 447 12/15/2022
0.0.1 346 12/14/2022