Recode videos with vp9
This commit is contained in:
parent
677f6e547e
commit
9dd6d30c71
16 changed files with 19 additions and 19 deletions
|
@ -6,9 +6,9 @@ func _ready():
|
|||
var videoPlayer = $Video / VideoPlayer
|
||||
var path = ""
|
||||
if TranslationServer.get_locale() == "en":
|
||||
path = "res://resources/video/train_en.ogv"
|
||||
path = "res://resources/video/train_en.webm"
|
||||
else :
|
||||
path = "res://resources/video/train_ru.ogv"
|
||||
path = "res://resources/video/train_ru.webm"
|
||||
videoPlayer.stream = load(path)
|
||||
videoPlayer.play()
|
||||
|
||||
|
@ -21,8 +21,8 @@ func SetSettings(setting):
|
|||
var videoPlayer = $Video / VideoPlayer;
|
||||
var path = ""
|
||||
if setting == "English":
|
||||
path = "res://resources/video/train_en.ogv"
|
||||
path = "res://resources/video/train_en.webm"
|
||||
else :
|
||||
path = "res://resources/video/train_ru.ogv"
|
||||
path = "res://resources/video/train_ru.webm"
|
||||
videoPlayer.stream = load(path)
|
||||
videoPlayer.play()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue