0

I'm new to software licensing and open source so I'm having a difficult time wrapping my head around understanding how it works even after reading existing posts that discussed similar if not the same question, so I apologize if it seems redundant or nonsensical.

My project uses the Youtube Iframe API along with code snippets that handle interactions with the API from their documentation (https://developers.google.com/youtube/iframe_api_reference). The code is licensed under Apache 2.0 and the Youtube Iframe API embeds script into my project when it runs, which I assume is also licensed under Apache 2.0.

These code snippets are tightly coupled within my own code in a single file instead of being separated into its own file. Between a license file, a notice file, and comments attributing the source and mentioning the license of the source, which ones do I have to include? Also, if I were to make my project public or have it distributed non-commercially, can I use 2 different licenses (MIT license for my own code and Apache 2.0 for the code from youtube) or do I have to use the license from the code snippets that are already licensed?

asked Mar 14 at 23:50
5
  • 2
    Have you tried to use the search engine of this site? How is your question different from the existing answered questions? Commented Mar 15 at 7:59
  • I have, but not that exact search query so it might not have shown as much hits, so I've mostly been going off of what I could find from the related section, thanks! I did find a few older post from the softwareengineering stackexchange that seems relevant to my question, but I'm not sure if they still hold up a decade later. softwareengineering.stackexchange.com/questions/297217/…, softwareengineering.stackexchange.com/questions/220068/…. Commented Mar 15 at 11:15
  • 1
    But I'm guessing since the contents of the license itself hasn't changed since 2004, that shouldn't be a concern? Commented Mar 15 at 11:23
  • Bart's answers are usually profound and high quality. So I guess you found what you need. I will recommend to close this question. Commented Mar 16 at 9:49
  • 1
    I’m voting to close this question because the OP has stated that (s)he has found an answer among other Stack Exchange questions. Commented Mar 16 at 9:51

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.