Ok so I’m trying to set the Volume in a Video Player. I can’t get it to work right.
I know the doc is at volume setter doc
And I know I need an array to hold the setting, but I’m still not getting it.
Can someone explain the doc syntax to me?
volume(v : number) : void;
So if I read is right “v” is the variable it has to be an arrayed number ( per doc 0-1)
var v = [.5,.5];
When I test it I get sound but no video.
The other part is the “:void;” at the end. I know it has something to do with no data returned, I think…
But if I added it I get an error.