2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 10:08:05 +02:00
<class name= "VideoStream" inherits= "Resource" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-09-12 22:42:36 +02:00
<brief_description >
2018-08-27 00:31:09 +02:00
Base resource for video streams.
2017-09-12 22:42:36 +02:00
</brief_description>
<description >
2021-12-06 17:24:45 +01:00
Base resource type for all video streams. Classes that derive from [VideoStream] can all be used as resource types to play back videos in [VideoStreamPlayer].
2017-09-12 22:42:36 +02:00
</description>
<tutorials >
2023-08-15 12:14:01 +02:00
<link title= "Playing videos" > $DOCS_URL/tutorials/animation/playing_videos.html</link>
2017-09-12 22:42:36 +02:00
</tutorials>
2022-07-29 00:23:11 +02:00
<methods >
<method name= "_instantiate_playback" qualifiers= "virtual" >
<return type= "VideoStreamPlayback" />
<description >
Called when the video starts playing, to initialize and return a subclass of [VideoStreamPlayback].
</description>
</method>
</methods>
<members >
<member name= "file" type= "String" setter= "set_file" getter= "get_file" default= """" >
The video file path or URI that this [VideoStream] resource handles.
For [VideoStreamTheora], this filename should be an Ogg Theora video file with the [code].ogv[/code] extension.
</member>
</members>
2017-09-12 22:42:36 +02:00
</class>