Imports a video


## Description

TIP: to ensure that your video starts as soon as possible, make sure to pre-process it with a tool like qt-faststart. There are many places where you can find it, but here are some suggestions:

- download it from [https://pypi.org/project/qtfaststart/](https://pypi.org/project/qtfaststart/)
- download it from [https://manpages.debian.org/stretch/ffmpeg/qt-faststart.1.en.html](https://manpages.debian.org/stretch/ffmpeg/qt-faststart.1.en.html)
- with ffmpeg, you can use the following command line: `ffmpeg -i in.mp4 -c copy -map 0 -movflags +faststart out.mp4
`

In a future version of this node, it will also be possible to link it to a video tag that could already be in your html DOM. This way, you could sets multiple source tags (one with mp4 and one with ogv) instead of a single url.


## Parameters

<table>
<thead>
	<tr>
		<th>Name</th>
		<th>Type</th>
		<th>Description</th>
	</tr>
</thead>
<tr>
	<td>mode</td>
	<td><div class='bg-orange-800 px-2 py-px text-white rounded-sm'>integer</div></td>
	<td>mode</td>
</tr>
<tr>
	<td>urlsCount</td>
	<td><div class='bg-orange-800 px-2 py-px text-white rounded-sm'>integer</div></td>
	<td>number of video files to fetch</td>
</tr>
<tr>
	<td>url1</td>
	<td><div class='bg-purple-800 px-2 py-px text-white rounded-sm'>string</div></td>
	<td>url to fetch the video from</td>
</tr>
<tr>
	<td>url2</td>
	<td><div class='bg-purple-800 px-2 py-px text-white rounded-sm'>string</div></td>
	<td>url to fetch the video from</td>
</tr>
<tr>
	<td>url3</td>
	<td><div class='bg-purple-800 px-2 py-px text-white rounded-sm'>string</div></td>
	<td>url to fetch the video from</td>
</tr>
<tr>
	<td>selector</td>
	<td><div class='bg-purple-800 px-2 py-px text-white rounded-sm'>string</div></td>
	<td>selector</td>
</tr>
<tr>
	<td>reload</td>
	<td><div class='bg-cyan-800 px-2 py-px text-white rounded-sm'>button</div></td>
	<td>reload the video</td>
</tr>
<tr>
	<td>play</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>play the video</td>
</tr>
<tr>
	<td>muted</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>set the video muted attribute</td>
</tr>
<tr>
	<td>loop</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>set the video loop attribute</td>
</tr>
<tr>
	<td>videoTime</td>
	<td><div class='bg-yellow-800 px-2 py-px text-white rounded-sm'>float</div></td>
	<td>set the video time</td>
</tr>
<tr>
	<td>setVideoTime</td>
	<td><div class='bg-cyan-800 px-2 py-px text-white rounded-sm'>button</div></td>
	<td>seek the video at the time specified in videoTime</td>
</tr>
<tr>
	<td>tcolorSpace</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>toggle on to allow updating the texture encoding</td>
</tr>
<tr>
	<td>colorSpace</td>
	<td><div class='bg-purple-800 px-2 py-px text-white rounded-sm'>string</div></td>
	<td>sets the texture encoding</td>
</tr>
<tr>
	<td>tmapping</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>toggle on to allow updating the texture mapping</td>
</tr>
<tr>
	<td>mapping</td>
	<td><div class='bg-orange-800 px-2 py-px text-white rounded-sm'>integer</div></td>
	<td>sets the texture mapping</td>
</tr>
<tr>
	<td>twrap</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>toggle on to allow updating the texture wrap</td>
</tr>
<tr>
	<td>wrapS</td>
	<td><div class='bg-orange-800 px-2 py-px text-white rounded-sm'>integer</div></td>
	<td>sets the texture wrapS</td>
</tr>
<tr>
	<td>wrapT</td>
	<td><div class='bg-orange-800 px-2 py-px text-white rounded-sm'>integer</div></td>
	<td>sets the texture wrapT</td>
</tr>
<tr>
	<td>tminFilter</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>toggle on to allow updating the texture min filter</td>
</tr>
<tr>
	<td>minFilter</td>
	<td><div class='bg-orange-800 px-2 py-px text-white rounded-sm'>integer</div></td>
	<td>sets the texture min filter</td>
</tr>
<tr>
	<td>tmagFilter</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>toggle on to allow updating the texture mag filter</td>
</tr>
<tr>
	<td>magFilter</td>
	<td><div class='bg-orange-800 px-2 py-px text-white rounded-sm'>integer</div></td>
	<td>sets the texture mag filter</td>
</tr>
<tr>
	<td>tanisotropy</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>toggle on to allow updating the texture anisotropy</td>
</tr>
<tr>
	<td>useRendererMaxAnisotropy</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>sets the anisotropy from the max value allowed by the renderer</td>
</tr>
<tr>
	<td>anisotropy</td>
	<td><div class='bg-orange-800 px-2 py-px text-white rounded-sm'>integer</div></td>
	<td>sets the anisotropy manually</td>
</tr>
<tr>
	<td>tflipY</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>Toggle on to update the flipY</td>
</tr>
<tr>
	<td>flipY</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>sets the flipY</td>
</tr>
<tr>
	<td>ttransform</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>toggle on to update the texture transform</td>
</tr>
<tr>
	<td>offset</td>
	<td><div class='bg-teal-800 px-2 py-px text-white rounded-sm'>vector2</div></td>
	<td>updates the texture offset</td>
</tr>
<tr>
	<td>repeat</td>
	<td><div class='bg-teal-800 px-2 py-px text-white rounded-sm'>vector2</div></td>
	<td>updates the texture repeat</td>
</tr>
<tr>
	<td>rotation</td>
	<td><div class='bg-yellow-800 px-2 py-px text-white rounded-sm'>float</div></td>
	<td>updates the texture rotation</td>
</tr>
<tr>
	<td>center</td>
	<td><div class='bg-teal-800 px-2 py-px text-white rounded-sm'>vector2</div></td>
	<td>updates the texture center</td>
</tr>
<tr>
	<td>tadvanced</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>toggle on to display advanced parameters</td>
</tr>
<tr>
	<td>tformat</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>toggle on to allow overriding the texture format</td>
</tr>
<tr>
	<td>format</td>
	<td><div class='bg-orange-800 px-2 py-px text-white rounded-sm'>integer</div></td>
	<td>sets the texture format</td>
</tr>
<tr>
	<td>ttype</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>toggle on to allow overriding the texture type</td>
</tr>
<tr>
	<td>type</td>
	<td><div class='bg-orange-800 px-2 py-px text-white rounded-sm'>integer</div></td>
	<td>sets the texture ty[e]</td>
</tr>
<tr>
	<td>checkFileType</td>
	<td><div class='bg-emerald-800 px-2 py-px text-white rounded-sm'>boolean</div></td>
	<td>check url extension</td>
</tr>
</table>