Stremio / stremio-addon-sdk

🧙 A Node.js SDK for creating and publishing Stremio add-ons
https://www.stremio.com/addon-sdk
MIT License
605 stars 158 forks source link

Question: How do I load a youtube link in my add-on #252

Closed AlecMcCutcheon closed 5 months ago

AlecMcCutcheon commented 6 months ago

Tried just adding the URL but it seems that didn't end up working very well, trying to link into a youtube live stream that's constantly running on youtube, and i know that with the youtube addon you can load youtube videos, i just don't know how to accomplish that in my addon, or even somehow hook into the youtube addon in order to play the live stream.

dexter21767-dev commented 5 months ago

yes, u can return a ytId instead of a url. check this part of the documentation.