Format and Validate

This commit is contained in:
1hitsong 2022-05-14 22:49:32 -04:00
parent 158b7623ba
commit 938777dea4

View File

@ -400,7 +400,7 @@ function CreateVideoPlayerGroup(video_id, mediaSourceId = invalid, audio_stream_
end function end function
sub controlaudioplay() sub controlaudioplay()
if (m.audio.state = "finished") if m.audio.state = "finished"
m.audio.control = "stop" m.audio.control = "stop"
m.audio.control = "none" m.audio.control = "none"
end if end if
@ -409,7 +409,7 @@ end sub
' Play Audio ' Play Audio
function CreateAudioPlayerGroup(audio) function CreateAudioPlayerGroup(audio)
print "[INFO] Playing ", audio.title print "[INFO] Playing ", audio.title
songData = AudioItem(audio.id) songData = AudioItem(audio.id)
m.audio = createObject("RoSGNode", "Audio") m.audio = createObject("RoSGNode", "Audio")