[gd_scene load_steps=2 format=2]

[ext_resource path="res://download_video.gd" type="Script" id=1]

[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -0.890956
margin_top = -1.7818
margin_right = -0.890991
margin_bottom = -1.7818
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 1.0
margin_top = 300.0
margin_right = 1023.0
margin_bottom = 316.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="RichTextLabel" type="RichTextLabel" parent="VBoxContainer"]
margin_right = 1022.0
margin_bottom = 16.0
size_flags_horizontal = 3
size_flags_vertical = 3
bbcode_enabled = true
bbcode_text = "[center]Downloading and converting video[/center]"
text = "Downloading and converting video"

[node name="VBoxContainer2" type="VBoxContainer" parent="."]
margin_left = 213.816
margin_top = 320.724
margin_right = 837.816
margin_bottom = 334.724
__meta__ = {
"_edit_use_anchors_": false
}

[node name="DownloadProgress" type="ProgressBar" parent="VBoxContainer2"]
margin_right = 624.0
margin_bottom = 14.0

[node name="HBoxContainer" type="HBoxContainer" parent="."]
margin_left = 1.0
margin_top = 379.0
margin_right = 1023.0
margin_bottom = 394.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Label" type="Label" parent="HBoxContainer"]
margin_right = 45.0
margin_bottom = 20.0
rect_min_size = Vector2( 45, 0 )
size_flags_vertical = 3
text = "URL: "
valign = 1

[node name="TextEdit" type="TextEdit" parent="HBoxContainer"]
margin_left = 49.0
margin_right = 985.0
margin_bottom = 20.0
size_flags_horizontal = 3
text = "https://www.youtube.com/watch?v=x1T6QFpd0J4"

[node name="Button" type="Button" parent="HBoxContainer"]
margin_left = 989.0
margin_right = 1022.0
margin_bottom = 20.0
text = "GO"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="HTTPRequest" type="HTTPRequest" parent="."]
[connection signal="ready" from="." to="." method="_on_Control_ready"]
[connection signal="changed" from="VBoxContainer2/DownloadProgress" to="." method="_on_DownloadProgress_changed"]
[connection signal="pressed" from="HBoxContainer/Button" to="." method="_on_Button_pressed"]
[connection signal="request_completed" from="HTTPRequest" to="." method="_on_HTTPRequest_request_completed"]
