wiki.sine.space | sinespace

Difference between revisions of "Scripting/SEmbeddedVideo"

From wiki.sine.space
Jump to: navigation, search
m
(Replaced content with "This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/sembeddedvideo")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Members=
+
This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/sembeddedvideo
 
+
{{ScriptFunction|void|OnStateChange|()|Binds a function to the OnStateChange event which fires every time player changes its state|5=<pre>
+
 
+
function sc()
+
Space.Log("State Changed")
+
end
+
 
+
Space.Host.ExecutingObject.EmbeddedVideo.OnStateChange(sc)
+
</pre>}}
+
 
+
{{ScriptFunction|void|Play|()|If URL is set, plays the video|5=<pre>
+
 
+
Space.Host.ExecutingObject.EmbeddedVideo.Play()
+
</pre>}}
+
 
+
{{ScriptFunction|void|Stop|()|Stops the playback|5=<pre>
+
Space.Host.ExecutingObject.EmbeddedVideo.Stop()
+
</pre>}}
+
 
+
{{ScriptFunction|void|Pause|()|Pauses currently played video|5=<pre>
+
Space.Host.ExecutingObject.EmbeddedVideo.Pause()
+
</pre>}}
+
 
+
{{ScriptFunction|void|Resume|()|If the video is currently paused, it will resume playback|5=<pre>
+
Space.Host.ExecutingObject.EmbeddedVideo.Resume()
+
</pre>}}
+
 
+
{{ScriptFunction|void|SynchorizeUrl|()|Synchorize current video url|5=<pre>
+
Space.Host.ExecutingObject.EmbeddedVideo.SynchorizeUrl()
+
</pre>}}
+
 
+
{{ScriptFunction|void|ClearRenderTexture|()|Clears the Render Texture|5=<pre>
+
Space.Host.ExecutingObject.EmbeddedVideo.ClearRenderTexture()
+
</pre>}}
+
 
+
 
+
 
+
 
+
 
+
=Properties=
+
 
+
 
+
{{ScriptFunction|void|Property|{ get;set; }|x|5= <pre></pre>}}
+
 
+
 
+
{{Scripting Navbox}}
+

Latest revision as of 05:41, 19 September 2022

This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/sembeddedvideo