VlcXamSample
A sample demonstrates how to use and customize the LibVLCSharp MediaElement control.
Install / Use
/learn @egbakou/VlcXamSampleREADME
How to use the MediaElement control ?
<vlc:MediaPlayerElement
EnableRendererDiscovery="True"
LibVLC="{Binding LibVLC}"
MediaPlayer="{Binding MediaPlayer}" />
Without customization, the view looks like VLC Android or iOS UI.
| <img src="screenshots/Screen001.png" width="280" height="480" /> | <img src="screenshots/Screen002.png" width="280" height="480" /> | | ------------------------------------------------------------ | ------------------------------------------------------------ |
This screenshot comes from the sample using LibVLCSharp.Forms v.3.5.1
Customizations
- [x] Hide the Playback Controls (the Seek bar and the buttons Bar)
<vlc:MediaPlayerElement
EnableRendererDiscovery="True"
LibVLC="{Binding LibVLC}"
MediaPlayer="{Binding MediaPlayer}">
<vlc:MediaPlayerElement.PlaybackControls>
<vlc:PlaybackControls IsVisible="False" />
</vlc:MediaPlayerElement.PlaybackControls>
</vlc:MediaPlayerElement>
<img src="screenshots/Screen003.png" width="280" height="480" />
- [x] Change the Main Color
<vlc:MediaPlayerElement
EnableRendererDiscovery="True"
LibVLC="{Binding LibVLC}"
MediaPlayer="{Binding MediaPlayer}">
<vlc:MediaPlayerElement.PlaybackControls>
<vlc:PlaybackControls MainColor="Red" />
</vlc:MediaPlayerElement.PlaybackControls>
</vlc:MediaPlayerElement>
| <img src="screenshots/Screen004.png" width="280" height="480" /> | <img src="screenshots/Screen005.png" width="280" height="480" /> | | ------------------------------------------------------------ | ------------------------------------------------------------ |
This screenshot comes from the sample using LibVLCSharp.Forms v.3.5.1
Just type Ctrl + Space in the vlc:PlaybackControls tag to discover more customizable properties.
Related Skills
qqbot-channel
346.4kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.1k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
346.4kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
