Библиотеки

список библиотек s&box

MediaHelpers

carsonk.mediahelpers

A library used to retrieve video stream urls for use with the VideoPlayer class.

Описание

MediaHelpers

A library used to retrieve video stream urls for use with the VideoPlayer class.

How to use

Add the following package to your game/addon:

Make sure your class is and you're good to go!

Here's some example code:

public void PlayVideo(string url)
{
    if(MediaHelper.IsYoutubeUrl(url))
    {
        string streamUrl = MediaHelper.GetUrlFromYoutubeUrl(url);
        videoPlayer.Play(streamUrl);
    }
    else
    {
        videoPlayer.Play(url);
    }
}

Медиа

01
Миниатюра Razor Panel Tooltips
Razor Panel Tooltips carsonk.razor_tooltips

A custom tooltip system that lets you use razor panels instead of a string

+0 24 ч
6избранное
6положительные оценки
55%Terry Score
02
Миниатюра RichText Razor Panels
RichText Razor Panels carsonk.richtextpanels

Adds a <RichText/> element which can parse text into custom Razor Panels

+0 24 ч
3избранное
4положительные оценки
60%Terry Score
03
Миниатюра Editor All Chat
Editor All Chat carsonk.editor_all_chat

A global chat that lets you talk with anyone else using the library who's currently in the Editor.

+0 24 ч
2избранное
6положительные оценки
69%Terry Score
04
Миниатюра TikTokTTS
TikTokTTS carsonk.tiktoktts

No summary provided.

+0 24 ч
1избранное
4положительные оценки
60%Terry Score
05
Миниатюра SFXR
SFXR carsonk.sfxr

No summary provided.

+0 24 ч
1избранное
2положительные оценки
43%Terry Score
06
Миниатюра Granular Pitch Audio Processor
Granular Pitch Audio Processor carsonk.granularpitchprocessor

A basic audio processor that lets you change the pitch of a sound live without changing its speed.

+0 24 ч
1избранное
0положительные оценки
--Terry Score