ATTENTION SpatialLabs developers: Please fix the SpatialLabs Player

Options
jimdogma
jimdogma Member Posts: 16 Troubleshooter

We have a great product here with the SpatialLabs laptop. Packaged with the SpatialLabs laptop is an equally great SpatialLabs Player. With one GLARING and EASILY fixable problem. There is no way to SLOW DOWN a video. The only thing you can do is SPEED UP a video. Who on Earth wants to watch a video at twice it's intended speed. But no, you can also watch it at 1.25x faster, 1.5x faster, and 1.75x faster. Brilliant thinking here.

On the other hand, there's orders of magnitude of other videophiles that have no interest in speeding up a video but want to have the ability to SLOW down a video in order to capture a moment. Think of all the sports fans that use the SpatialLabs player and have no ability to slow down a touchdown pass to see if the player actually caught or dropped the ball. This is absurd. Please add to the SpatialLabs player an option to slow down the video to .75x, .5x, and .25x normal speed. Thank you.

Best Answers

  • NikkiC
    NikkiC Member Posts: 13

    Tinkerer

    Answer ✓

    Sorry, I was relying on an email notification on this thread, which never arrived.

    The SpatialLabs Player is an Electron app. It decompresses/decompiles to Javascript. Extract the ASAR archive, SpatialLabs\Player\resources\app.asar, to SpatialLabs\Player\resources\app.

    The main.580bba85959d7cc6.js file may have a different file name for you.
    In the SpatialLabs\Player\resources\app\dist\widgets\main\main.580bba85959d7cc6.js file, there is an array:

    this.speedOpts = [1, 1.25, 1.5, 1.75, 2]

    I added 0.5 to the array:

    this.speedOpts = [0.5, 1, 1.25, 1.5, 1.75, 2]

    And saved it. I haven't worked out yet how to repackage the app, but it runs perfectly fine without having to recompile. You simply move the original SpatialLabs\Player\resources\app.asar file elsewhere which causes the application to execute from the decompiled folder SpatialLabs\Player\resources\app instead.

  • jimdogma
    jimdogma Member Posts: 16 Troubleshooter
    Answer ✓

    Hi Nikki, I just wanted to say how thankful I am for finding this fix for me. It worked like a charm. I'm definitley not tech/programming savvy, but I was able to make it work with some help from chatGPT (haha). For anyone else using Nikki's fix, the important thing to keep in mind is that you have find the option to "run as administrator" in almost all the steps because you'll get nowhere otherwise. For example, when you open the main.580bba85959d7cc6.js file in Notepad, open the notepad initially as an administrator or it won't save the file properly.

    Other than that, I am loving my now, thanks to Nikki, properly structured 3D media player. I wanted to add just a couple of additions to Nikki's tutorial that I think might help others wanting to be able to slow down a video (who on Earth would want to slow down a video when you can just speed it up? Says the SpatialLabs development team…😛) First, Nikki just added half speed to the program, i.e.,

    this.speedOpts = [0.5, 1, 1.25, 1.5, 1.75, 2]

    I added a few more, mine looks like this:

    this.speedOpts = [0.25, 0.5, 0.75, 1, 1.25]

    I removed the 3 highest speeds because I probably will never use them and for another reason. That reason is that, if you just follow Nikki's quick fix, you run into a problem where you can access the 0.5 speed option, but you can't change it again within the same playing video. The "play speed" option vanishes from the menu so you have to exit the video and re-play it to change the speed (see figure

    1). The fix I founds for this was to alter some of the text in the main.580bba85959d7cc6.js file. What you need to do is open the file in Notepad (as an administrator), click on the "find" option under "edit" on the main page and enter "TOOLTIP.PLAY_SPEED." Just underneath that, you'll see a number of entries that look like this: "("ngIf",1.75==n.videoInfo.playbackRate)." There are 5 of these, each for the stock speeds native to the player—1.0, 1.25, 1.5, 1.75 and 2.0. What I did was change the top 3, 1.5, 1.75, and 2.0 to 0.25, 0.5, and 0.75. So it looks like this:

    ("ngIf",0.25==n.videoInfo.playbackRate), ("ngIf",0.5==n.videoInfo.playbackRate),("ngIf",0.75==n.videoInfo.playbackRate)

    This way, the play speed button option stays active in the window so you can change it around without having to exit the video each time you change the speed. The only problem is that the value of the playspeed in the main window is not necessarily accurate (see figure 2).

    I'm not worried about that personally, it's just an aesthetic issue. Once you click on the icon, the speed you are watching the video at comes up with a check mark beside it and you have the option to change the speeds at will.

    Anyway, hope this helps and, again, thank you so much Nikki for finding this fix for me!

Answers

  • NikkiC
    NikkiC Member Posts: 13

    Tinkerer

    It's possible to decompile their application and tweak stuff like this. I've done this to allow the application to remember the stereo shift for every file played, so I don't have to keep adjusting the slider for my eyes' comfort every time the same file is played.

    Adding more speed options is possible too. I just tried 0.5x and it works. Sound is also played slowed down.

  • jimdogma
    jimdogma Member Posts: 16 Troubleshooter

    That's great, Nikki, thanks for responding to my query. The only thing missing from your response is the method by which you reduced the playback speed 0.5x. That method would certainly help 😃.

  • NikkiC
    NikkiC Member Posts: 13

    Tinkerer

    Answer ✓

    Sorry, I was relying on an email notification on this thread, which never arrived.

    The SpatialLabs Player is an Electron app. It decompresses/decompiles to Javascript. Extract the ASAR archive, SpatialLabs\Player\resources\app.asar, to SpatialLabs\Player\resources\app.

    The main.580bba85959d7cc6.js file may have a different file name for you.
    In the SpatialLabs\Player\resources\app\dist\widgets\main\main.580bba85959d7cc6.js file, there is an array:

    this.speedOpts = [1, 1.25, 1.5, 1.75, 2]

    I added 0.5 to the array:

    this.speedOpts = [0.5, 1, 1.25, 1.5, 1.75, 2]

    And saved it. I haven't worked out yet how to repackage the app, but it runs perfectly fine without having to recompile. You simply move the original SpatialLabs\Player\resources\app.asar file elsewhere which causes the application to execute from the decompiled folder SpatialLabs\Player\resources\app instead.

  • jimdogma
    jimdogma Member Posts: 16 Troubleshooter
    Answer ✓

    Hi Nikki, I just wanted to say how thankful I am for finding this fix for me. It worked like a charm. I'm definitley not tech/programming savvy, but I was able to make it work with some help from chatGPT (haha). For anyone else using Nikki's fix, the important thing to keep in mind is that you have find the option to "run as administrator" in almost all the steps because you'll get nowhere otherwise. For example, when you open the main.580bba85959d7cc6.js file in Notepad, open the notepad initially as an administrator or it won't save the file properly.

    Other than that, I am loving my now, thanks to Nikki, properly structured 3D media player. I wanted to add just a couple of additions to Nikki's tutorial that I think might help others wanting to be able to slow down a video (who on Earth would want to slow down a video when you can just speed it up? Says the SpatialLabs development team…😛) First, Nikki just added half speed to the program, i.e.,

    this.speedOpts = [0.5, 1, 1.25, 1.5, 1.75, 2]

    I added a few more, mine looks like this:

    this.speedOpts = [0.25, 0.5, 0.75, 1, 1.25]

    I removed the 3 highest speeds because I probably will never use them and for another reason. That reason is that, if you just follow Nikki's quick fix, you run into a problem where you can access the 0.5 speed option, but you can't change it again within the same playing video. The "play speed" option vanishes from the menu so you have to exit the video and re-play it to change the speed (see figure

    1). The fix I founds for this was to alter some of the text in the main.580bba85959d7cc6.js file. What you need to do is open the file in Notepad (as an administrator), click on the "find" option under "edit" on the main page and enter "TOOLTIP.PLAY_SPEED." Just underneath that, you'll see a number of entries that look like this: "("ngIf",1.75==n.videoInfo.playbackRate)." There are 5 of these, each for the stock speeds native to the player—1.0, 1.25, 1.5, 1.75 and 2.0. What I did was change the top 3, 1.5, 1.75, and 2.0 to 0.25, 0.5, and 0.75. So it looks like this:

    ("ngIf",0.25==n.videoInfo.playbackRate), ("ngIf",0.5==n.videoInfo.playbackRate),("ngIf",0.75==n.videoInfo.playbackRate)

    This way, the play speed button option stays active in the window so you can change it around without having to exit the video each time you change the speed. The only problem is that the value of the playspeed in the main window is not necessarily accurate (see figure 2).

    I'm not worried about that personally, it's just an aesthetic issue. Once you click on the icon, the speed you are watching the video at comes up with a check mark beside it and you have the option to change the speeds at will.

    Anyway, hope this helps and, again, thank you so much Nikki for finding this fix for me!