Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

A video playback implementation aimed to be used as an overlay during gameplays, developed on top of Xbox Game Bar SDK.

Notifications You must be signed in to change notification settings

MarconiGRF/YTGameBarOverlay

Repository files navigation

Deprecation notice

This project is now deprecated due to the difficulty of interacting with the video provider APIs. The limited search quota is not enough to fullfil global usage of the app and because of this it lacks one of the core features of the app, the search feature. Unfortunately is not of my interest to maintain or update the project anymore. Feel free to clone, redistribute or share the project since it is not licensed in any form.

YT GameBar Overlay

YT GameBar Logo
An extension developed on top of Windows' Xbox Game Bar SDK, aimed to be used as a pinned window while playing, making it possible to enjoy the video while gaming.

Releases

Setting up

  • 1: Clone this repository.
  • 2: Clone the VideoUI repository, it is the core of videos playback on this project.
  • 3: Build the VideoUI (Instructions on its readme), copy the content of YTGameBarVideoUI/dist/YTGameBarVideoUI inside YTGameBarOverlay/VideoUI.
  • 4: Rename the .env_sample to .env and update the necessary environment variables, which currently are:
    • YTGBFS_ADDRESS (The address of a running YTGBFS instance.)
    • YTGBFS_PORT (The port of the previous YTGBFS instance.)
    • YTGBSS_ADDRESS (The address of a running YTGBSS instance.)
    • YTGBSS_PORT (The port of the previous YTGBFS instance.)
    • YTGBWS_PORT (The port of the Webserver contained in YTGBO)
  • 5: Open the YTeGameBarOverlay.sln on Visual Studio.
  • 6: Add the VideoUI files to the project
    • On VS' Solution explorer, right click VideoUI Folder, then Add... > Existing Item...
    • Select all files inside VideoUI/
  • 7: Update/install the NuGet Packages.
  • 8: You're ready to contribute!

Development tips

Debugging with Game Bar

Once that this overlay is intended to be used on Xbox Game Bar, and you're probably going to need debugging it inside Game Bar, the application should not be launched as a normal UWP App:

  • 1: With the solution opened, right-click the project YTGameBarOverlay (Universal Windows) and go to Properties and then Debug.
  • 2: Check the Do not launch, but debug my code when it starts option.
  • 3: Save the Project Properties.
  • 4: Use the Visual Studio's Build Menu Bar option, then select Deploy Solution.
  • 5: Once the process of deploy is succeed, press F5 to start debugging on Visual Studio (notice that it will not start the Overlay automatically).
  • 6: Now go ahead to Xbox Game Bar (Windows + G), using the Widget Menu option select YT GameBar Overlay.
  • 7: Pin the window and go back to Visual Studio.
  • 8: Since step 7 Visual Studio should have already attached to the YTGBO's process and you are now able to debug it properly.

Everytime you change the code you'll need to redeploy to debug (Steps 4-7).

Special Thanks

Arthur Bryan - For adding Spanish resource files.
Jupiteur - For adding French resource files.

About

A video playback implementation aimed to be used as an overlay during gameplays, developed on top of Xbox Game Bar SDK.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages