Coder Social home page Coder Social logo

josephang / magicmonitor Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 27 KB

Magic Monitor The purpose of this script is to take video / data input from consoles via third-party HDMI / DP to USB Device. It's for people with a game console that want to use their high performance monitor rather than TV while also using monitor as PC monitor.

Home Page: https://joeworkbench.net/MagicMonitor/

License: Creative Commons Zero v1.0 Universal

HTML 57.09% CSS 7.38% JavaScript 35.53%
browser displayport gameconsole hdmi hdmi-audio html-css-javascript monitor nintendo ps5 switch tv usb usb-devices webcam xbox

magicmonitor's Introduction

Magic Monitor

  • The purpose of this script is to take video / data input from consoles via third-party HDMI / DP to USB Device.
  • It's for people with a game console that want to use their high performance monitor rather than TV while also using monitor as PC monitor.
  • You can download to play right away or add it to your project.
  • You can test it on my website: https://joeworkbench.net/MagicMonitor

For Those in a Hurry

  • All you really need is MagicMonitor.html. You can download and launch it on your favorite browser.
  • Go into your Browser Settings and search for Webcam and Microphone.
  • Set the Default device to your Usb Device connected from your console and to your PC.
  • Depending on the distance to your console, an hdmi/dp repeater might be necessary.
  • An hdmi splitter will be necessary if you wish to use a TV as well.

Features

  • Uses a browser as a monitor to display game console / media connected via USB
  • Utilizes the webcam and microphone functionality native to most modern browsers
  • Can take advantage of the "media popout feature" found in some browsers

Requirements

  • A third-party USB device for console input
  • A modern browser with webcam and microphone functionality

Installation

  • To install for Users:
  1. Download MagicMonitor.html from above.
  2. Open the MagicMonitor.html file in your preferred browser.
  3. Connect your USB device for console input.
  • To install Standalone for Developers
  1. Clone the repository
  2. mv MagicMonitor/CodeSplitting/testMagicMonitor MagicMonitor/index.html
  3. mv MagicMonitor/JS/testMagicMonitor MagicMonitor/JS/main.js
  4. rm MagicMonitor.html README.md -(optional, but recommended)
  5. In your new index.html
  • Locate
    <link rel="stylesheet" href="./CSS/MM.css">
    <script type="module" src="./JS/MagicMonitor.js" ></script>
    <script type="module" src="./JS/testMagicMonitor.js" ></script>
  • Modify
    <link rel="stylesheet" href="./CodeSplitting/CSS/MM.css">
    <script type="module" src="./CodeSplitting/JS/MagicMonitor.js" ></script>
    <script type="module" src="./CodeSplitting/JS/testMagicMonitor.js" ></script>
  1. Code examples can be found below should you wish to only use MagicMonitor.js as a Code Snippet.

Usage

  1. Run the MagicMonitor.html file in your browser.
  2. Follow browser instructions to set your USB Device as default for both webcam and mic.

For Developers

  • I have made MagicMonitor.js which has all the methods you need.
  • To add it to your JS import add:

In your HTML:

<script type="module" src="./JS/MagicMonitor.js"></script>

<div id="container">
  <video autoplay="true" id="videoElement"></video>
</div>

In your JavaScript:

import MagicMonitor from './MagicMonitor.js';
  • See my code testMagicMonitor.jsfor examples using the methods.
  • I have also included an optional Basic CSS class MM.css to make it look decent if you're ok with the sizing.

The File Structure is:

  index.html (testMagicMonitor)
  |
  |--JS/
  |   |
  |   |--MagicMonitor.js   
  |--CSS/
  |   |
  |   |--MM.css
  |
  |

Contributing

Contributions are welcome! I currently do not have a contribution guidelines link for more information.

License

This project is licensed under the Creative Commons Attribution 1.0 International License.

Author

This project was created by Joseph Ang and README.ME co-authored by OpenAI's ChatGPT.

$$$ Money $$$

Please donate to your favorite charity for me <3

magicmonitor's People

Contributors

josephang avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.