mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-05 21:50:05 +08:00
!3653 doc(#I67AHH): update VideoPlayer doc
* 格式化 * 使用 PackageTips 组件简化文档代码
This commit is contained in:
parent
b569f87d23
commit
de3695a397
@ -5413,11 +5413,7 @@
|
||||
"BaseUsageIntro": "",
|
||||
"BaseUsageText2": "Switch playback resources",
|
||||
"BaseUsageIntro2": "Use the Reload method to switch playback resources",
|
||||
"Tips": "Silent mode enabled by default, this is the way for autoplay follow the modern browser standards.",
|
||||
"P1": "Precautions",
|
||||
"P2": "This component relies on <a href='https://www.nuget.org/packages?q=BootstrapBlazor.VideoPlayer' target='_blank'><code>BootstrapBlazor.VideoPlayer</code></a>, which needs to reference its component package when using this component",
|
||||
"P3": "Nuget Install",
|
||||
"P4": "Use nuget.org to install <a href='https://www.nuget.org/packages?q=BootstrapBlazor.VideoPlayer' target='_blank'><code>BootstrapBlazor.VideoPlayer</code></a> component"
|
||||
"Tips": "Silent mode enabled by default, this is the way for autoplay follow the modern browser standards."
|
||||
},
|
||||
"BootstrapBlazor.Shared.Samples.PackageTips": {
|
||||
"Tips": "<p><b>Precautions</b></p><p>This component relies on <a href='https://www.nuget.org/packages?q={0}' target='_blank'><code>{0}</code></a>, which needs to reference its component package when using this component</p><p><b>Nuget Install</b></p><p>Use nuget.org to install <a href='https://www.nuget.org/packages?q={0}' target='_blank'><code>{0}</code></a> component</p>"
|
||||
|
@ -5418,11 +5418,7 @@
|
||||
"BaseUsageIntro": "",
|
||||
"BaseUsageText2": "切换播放资源",
|
||||
"BaseUsageIntro2": "使用 Reload 方法切换播放资源",
|
||||
"Tips": "默认启用静音模式,只有这样自动播放功能才符合现代浏览器标准.",
|
||||
"P1": "注意事项",
|
||||
"P2": "本组件依赖于 <a href='https://www.nuget.org/packages?q=BootstrapBlazor.VideoPlayer' target='_blank'><code>BootstrapBlazor.VideoPlayer</code></a>,使用本组件时需要引用其组件包",
|
||||
"P3": "Nuget 包安装",
|
||||
"P4": "使用 <a href='https://www.nuget.org/packages?q=BootstrapBlazor.VideoPlayer' target='_blank'>nuget.org</a> 进行 <code>BootstrapBlazor.VideoPlayer</code> 组件的安装"
|
||||
"Tips": "默认启用静音模式,只有这样自动播放功能才符合现代浏览器标准."
|
||||
},
|
||||
"BootstrapBlazor.Shared.Samples.PackageTips": {
|
||||
"Tips": "<p><b>注意事项 :</b></p><p>本组件依赖于 <a href='https://www.nuget.org/packages?q={0}' target='_blank'><code>{0}</code></a>,使用本组件时需要引用其组件包</p><p><b>Nuget 包安装</b></p><p>使用 <a href='https://www.nuget.org/packages?q={0}' target='_blank'>nuget.org</a> 进行 <code>{0}</code> 组件的安装</p>"
|
||||
|
@ -4,22 +4,7 @@
|
||||
|
||||
<h3>@Localizer["Title"]</h3>
|
||||
|
||||
<p><b>@Localizer["P1"] :</b></p>
|
||||
|
||||
<p>@((MarkupString)Localizer["P2"].Value)</p>
|
||||
|
||||
<p><b>@Localizer["P3"]</b></p>
|
||||
|
||||
<p>@((MarkupString)Localizer["P4"].Value)</p>
|
||||
|
||||
<div class="code-label">.NET CLI</div>
|
||||
<Pre class="no-highlight">dotnet add package BootstrapBlazor.VideoPlayer</Pre>
|
||||
|
||||
<div class="code-label">PackageReference</div>
|
||||
<Pre class="no-highlight"><PackageReference Include="BootstrapBlazor.VideoPlayer" /></Pre>
|
||||
|
||||
<div class="code-label">Package Manager</div>
|
||||
<Pre class="no-highlight">Install-Package BootstrapBlazor.VideoPlayer</Pre>
|
||||
<PackageTips Name="BootstrapBlazor.VideoPlayer" />
|
||||
|
||||
<Tips>
|
||||
<p>@((MarkupString)Localizer["Tips"].Value)</p>
|
||||
|
Loading…
Reference in New Issue
Block a user