Skip to content

OSL ‐ Video Player

Mistium edited this page Dec 1, 2023 · 11 revisions

Video Player

Functions to interact with videos are here (grab video height, duration and much more)

Video Commands

The video player is useful for.. well videos

  • video "clearall" - Deletes all loaded videos from ram

  • video url "clear" - Deletes a specific video from ram

  • video url "play" - Plays a speicifc video (works between applications)

  • video url "pause" - Pauses a specific video (works between applications)

  • video url width title subtext icon - Renders a video with the video player ui

Now Playing

Title, Subtext and Icon are the variables used with the nowplaying system to allow other apps to access current media

Title is a string of the name of the song or video Subtext is a string of some extra info Icon is a url, pointing to a png

Applications can access now playing using the global variables here

Example of the now playing system being used in a dock module:
Screenshot 2023-11-07 at 10 55 14

originOS Wiki

Wiki Views:
:views

OSL | RSH | ICN

Clone this wiki locally