Git Product home page Git Product logo

Comments (7)

MeoMix avatar MeoMix commented on July 19, 2024

That's because YouTube has revoked Streamus' API key. It won't work for a few weeks until I can fix ToS issues... read the announcement that pops up when using Streamus pls.

from streamuschromeextension.

yotamN avatar yotamN commented on July 19, 2024

Oh sorry, but didn't you changed the extension so it's would be legal?

from streamuschromeextension.

MeoMix avatar MeoMix commented on July 19, 2024

I did and they decided it still wasn't sufficient. They wanted me to pause the music whenever the extension's popup window minimizes... which would make Streamus completely useless.

from streamuschromeextension.

yotamN avatar yotamN commented on July 19, 2024

I think I will start read the code and will add a way to add a video by it id for now

from streamuschromeextension.

MeoMix avatar MeoMix commented on July 19, 2024

Well... to turn a video ID into video data you have to query YouTube's servers: https://github.com/MeoMix/StreamusChromeExtension/blob/Development/src/js/background/model/youTubeV3API.js#L107

But this requires using an API key and the account for Streamus isn't allowed to make API requests currently.

from streamuschromeextension.

yotamN avatar yotamN commented on July 19, 2024

I only used YouTube API a little but can't you just use an iframe? Like getting the id and then doing something like this:

var song = `<iframe width="560" height="315" src="https://www.youtube.com/embed/${id}" frameborder="0" allowfullscreen></iframe>`;

from streamuschromeextension.

MeoMix avatar MeoMix commented on July 19, 2024

That's what Streamus does to load the song for playback. Playback of a song works fine and doesn't rely on YouTube's API. But, getting the song's duration, title, related songs for radio mode, etc.. all rely on YouTube's API.

from streamuschromeextension.

Related Issues (20)

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.