Libraries

s&box libraries

Video Panel

duccsoft.videopanel

A Panel that plays videos

About

Source code: https://github.com/chrisspieler/sbox-tips-videoplayer/tree/main/Libraries/videopanel

VideoPanel is a UI Panel that manages the playback of a VideoPlayer instance. You can create it like this:

<VideoPanel VideoPath="ui/video/ducks.mp4" width="640" height="360" ShowControls=@true/>

By default, ShowControls is set to false. When true, video playback controls will appear over the video.

You can set AutoHide to false to keep the controls always visible, and set AutoHideDelay to adjust how much time passes between when the video is no longer hovered and when the controls are hidden.

If you set VideoRoot to VideoRoot.WebStream, you may use a direct video stream URL in VideoPath.

uirazorpanelvideovideoplayermedia

More by duccsoft

01
Freecam thumbnail
Freecam duccsoft.libfreecam

First person debug camera

+0 24h
6favorites
5upvotes
57%Wilson score
02
(WIP) Dear ImGui Clone thumbnail
(WIP) Dear ImGui Clone duccsoft.imgui

An implementation of the Dear ImGui API

dearimguiui
+0 24h
2favorites
2upvotes
34%Wilson score