-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Script SuggestionSuggestions for the script, not related to the standard itselfSuggestions for the script, not related to the standard itself
Description
Before Hyperion has came into play, all the executors I've been using had like their getcustomasset working with VideoFrames.
But Recently I tried it on three different executors, and all of them throw an error that the asset could not be loaded.
The asset I'm trying to use is in fact:
- Using VP8/VP9 Encodings.
- A .webm file.
- 720p.
The bottomline here is, add an additional check if the user can load a video in the VideoFrame.
-- Here's an example how it should work. :P
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ScreenGui.Parent = game.CoreGui
local VideoFrame = Instance.new("VideoFrame")
VideoFrame.AnchorPoint = Vector2.new(0.5, 0.5)
VideoFrame.Size = UDim2.new(0, 400, 0, 250)
VideoFrame.Video = getcustomasset("background.webm")
VideoFrame.Position = UDim2.new(0.5, 2, 0.5, -2)
VideoFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
VideoFrame.Looped = true
VideoFrame.BorderSizePixel = 0
VideoFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
VideoFrame.Parent = ScreenGui
VideoFrame:Play()
senS24th and loadstring1
Metadata
Metadata
Labels
Script SuggestionSuggestions for the script, not related to the standard itselfSuggestions for the script, not related to the standard itself