mediafront / osmplayer

The Open Standard Media Player is an all-in-one media player for the web. It is an industry changing, open source (MIT) media player that is built to dynamically deliver any type of web media, including HTML5, YouTube, Vimeo, and Flash.
http://www.mediafront.org
MIT License
342 stars 181 forks source link

Hello world #24

Open ghost opened 12 years ago

ghost commented 12 years ago

Hi, a few questions:

  1. GPL license. Means no commercial use in a viral way? Can you do apache of lgpl?
  2. Is there a simplest non php helloworld.html that just does play? Ideally that's just a file in git.
  3. What is the difference btwn the lib and mini player?

tia

travist commented 12 years ago

You can use this commercially and in a viral way. The GPL is just there to say that if you use the software, you cannot redistribute it as closed source. But you certainly can use this software for monetary gain without any repercussions.

As for a non-php helloworld.html, this is actually done with the latest version of OSM Player (which is 2.x). I highly recommend you use this version since it does not require PHP and a PHP library to use.

The difference between the osmplayer and the minplayer is that the minplayer is used as the "core" for the osmplayer. What I wanted was a base media player that only provides the simplest media functionality as well as an extensible plugin system to build on top of. The OSM Player builds on top the the minPlayer to provide playlist functionality, but if all you need is a player and no playlist, then the minPlayer is really all you need.

Hope this helps.

Travis.

ghost commented 12 years ago

Thx for a response Travis.

1. http://en.wikipedia.org/wiki/GNU_General_Public_License#Copyleft

As you can see what you said is not true, if I use your GPL library, I'm required to open source my code that uses your GPL code. So it can't be used for commercial use. If you change your license to LGPL or Apache or other then it can be.

2. Where is this example hello world?

3. So I should be using mini. Where is a mini hello world?

tia.

travist commented 12 years ago

Commercial use and Open Source are two separate things. If you wish to use this library within a commercial application, then you are able to do that as long as your commercial application is also Open Source GPL. However, if you wish to use this in a commercial application and close source that application (which is not how I intended this library be used), then you are right, GPL does not allow that and is also intentionally licensed that way.

I am, however, open for discussion on this and would be willing to dual license it under certain circumstances. If you send me an email with your intentions, I will consider your use case and will most likely dual license it for your situation.

2.) The hello world is basically the index.html. You can also view it by going to http://www.mediafront.org/assets/osmplayer/index.html

3.) The core minPlayer repository can be found at https://github.com/travist/minplayer. It's 'hello world' is also the index.html and a live version can be found at http://mediafront.org/assets/osmplayer/minplayer/index.html