Recode videos with vp9
This commit is contained in:
parent
677f6e547e
commit
9dd6d30c71
16 changed files with 19 additions and 19 deletions
|
@ -16,9 +16,9 @@ func _ready():
|
|||
var videoPlayer = $Video / VideoPlayer
|
||||
var path = ""
|
||||
if int(Dialogic.get_variable("Is_White_Dead")) == 1:
|
||||
path = "res://resources/video/роз_глок_новый.ogv"
|
||||
path = "res://resources/video/роз_глок_новый.webm"
|
||||
else :
|
||||
path = "res://resources/video/роз_беретта_новый.ogv"
|
||||
path = "res://resources/video/роз_беретта_новый.webm"
|
||||
videoPlayer.stream = load(path)
|
||||
videoPlayer.play()
|
||||
|
||||
|
@ -32,14 +32,14 @@ func InitForGallery()->Array:
|
|||
var videoPlayer = $Video / VideoPlayer
|
||||
var path = ""
|
||||
if glock and beretta:
|
||||
path = "res://resources/video/роз_глок_новый.ogv"
|
||||
path = "res://resources/video/роз_глок_новый.webm"
|
||||
videoPlayer.stream = load(path)
|
||||
videoPlayer.play()
|
||||
return ["ui_gallery_fall_1", "ui_gallery_fall_2"]
|
||||
elif glock and not beretta:
|
||||
path = "res://resources/video/роз_глок_новый.ogv"
|
||||
path = "res://resources/video/роз_глок_новый.webm"
|
||||
else :
|
||||
path = "res://resources/video/роз_беретта_новый.ogv"
|
||||
path = "res://resources/video/роз_беретта_новый.webm"
|
||||
|
||||
videoPlayer.stream = load(path)
|
||||
videoPlayer.play()
|
||||
|
@ -51,9 +51,9 @@ func SetSettings(setting):
|
|||
var path = ""
|
||||
|
||||
if setting == tr("ui_gallery_fall_1"):
|
||||
path = "res://resources/video/роз_глок_новый.ogv"
|
||||
path = "res://resources/video/роз_глок_новый.webm"
|
||||
elif setting == tr("ui_gallery_fall_2"):
|
||||
path = "res://resources/video/роз_беретта_новый.ogv"
|
||||
path = "res://resources/video/роз_беретта_новый.webm"
|
||||
|
||||
videoPlayer.stream = load(path)
|
||||
videoPlayer.play()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue