Michsky – Docs Michsky – Docs
  • Home
  • Documentation
    • Reach UI
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact
Michsky – Docs Michsky – Docs
Michsky – Docs
  • Home
  • Documentation
    • Reach UI
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact

DreamOS

  • Quick Start
  • How To (FAQs)
  • UI Elements
    • Changing Content
    • DreamOS UI Elements
  • Apps & Windows
    • App Library
    • Creating New Apps
    • Deleting Apps
    • Commander
    • Mail
    • Messaging
    • Music Player
    • Notepad
    • Photo Gallery
    • Reminder
    • Settings
    • Video Player
    • Web Browser
  • Managers
    • Audio Manager
    • Boot Manager
    • Date & Time
    • Events
    • Mod Manager
    • Multi Instance Manager
    • Network Manager
    • Notification Manager
    • User Manager
    • Widget Manager
    • World Space Manager
    • Window Manager
    • Wallpaper Manager
  • Others & Add-ons
    • Steam Messaging
  1. Home
  2. Docs
  3. DreamOS
  4. Apps & Windows
  5. Video Player
Updated on April 3, 2022

DreamOS

  • Quick Start
  • How To (FAQs)
  • UI Elements
    • Changing Content
    • DreamOS UI Elements
  • Apps & Windows
    • App Library
    • Creating New Apps
    • Deleting Apps
    • Commander
    • Mail
    • Messaging
    • Music Player
    • Notepad
    • Photo Gallery
    • Reminder
    • Settings
    • Video Player
    • Web Browser
  • Managers
    • Audio Manager
    • Boot Manager
    • Date & Time
    • Events
    • Mod Manager
    • Multi Instance Manager
    • Network Manager
    • Notification Manager
    • User Manager
    • Widget Manager
    • World Space Manager
    • Window Manager
    • Wallpaper Manager
  • Others & Add-ons
    • Steam Messaging

Video Player

Author: admin 159 views

Functional video player app which supports essential player features, including playback, streaming, loop, seeking and so on.

Workflow

Video Player app depends on its manager and scriptable objects. You can add new clips by using Tools > DreamOS > Show Video Library. You can also stream videos by enabling ‘Play From URL’ and setting a proper url. All of the playlist items will be generated at runtime. Items can be edited by selecting and opening the main prefab from Managers > Video Player > Resources tab.

API / Scripting

				
					using Michsky.DreamOS; // namespace

public VideoPlayer videoPlayer;

void YourFunction()
{
   videoPlayer.Play(); // Play the current clip
   videoPlayer.Pause(); // Pause the current clip
   videoPlayer.SeekForward(); // Seek forward depending on seekTime
   videoPlayer.SeekBackward(); // Seek backward depending on seekTime
   videoPlayer.seekTime = 10f; // Change the seek time value
   videoPlayer.loop = true; // Enable or disable looping
   videoPlayer.IncreasePlaybackSpeed(); // Increase playback speed by double
   videoPlayer.DecreasePlaybackSpeed(); // Decrease playback speed by double
   videoPlayer.PlayVideoClip(videoClipVariable, "title"); // Play specific video
   videoPlayer.PlayCustomVideo(index); // Play specific video from the library
   videoPlayer.PlayVideoURL("url address"); // Stream specific video from URL
}				
			

How can we help?

A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.

Content

© 2023 Michsky