We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1441
    • 61 Posts
    Don’t forget you can do this on the fly too - in your snippet call (if you don’t want to hard-code it in.)

    [[JWPlayer? &src=[*videosrc*]&height=`20`&fullscreen=`false`&controlbar=`bottom`]]


    (Under the available parameters section in the documentation - there are more options w/variables. &controlbar should be ’bottom | over | none)

      • 29525
      • 388 Posts
      Anablepo

      Thanks for the quick response.

      Yes, I have used this approach to show just the control bar. That will definitely work for some of my pages.

      I’m looking for something a bit more compact to use in a list of files where the list contains the title followed by a play button.

      I’m guessing this would have to be done with some javascript control code of some kind assigned to a button?

      Terry
        www.terrybarthdesign.com
        • 1441
        • 61 Posts
        Ok - I’m not sure what your application is, but if you’re looking to simply control the player without the controlbar - Set the controlbar variable to ’none’ and check out the Javacript API for JWPlayer...

        http://www.longtailvideo.com/support/tutorials/Javascript-API-Examples

        The ’listeners’ half-way down the page might be the most useful. Lots of copy ’n paste goodies there.
          • 29525
          • 388 Posts

          Ooh, that does look good!

          I’ll have to study this a bit. I’m not a programmer so it might take me a while, but on a quick scan it looks like what I need.

          Thank you!
            www.terrybarthdesign.com
            • 5430
            • 247 Posts
            keshon, I owe you. Fix worked perfectly.
              • 23018
              • 353 Posts
              Just in case anybody ponders upon integrating jwplayer into his MODx project.

              JWPlayer is NOT FREE!

              Why Buy a License?

              Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.

              Section iii is totaly clear about that. You are not allowed to use JW PLayer on a site powered by a CMS.

              I pointed out to that fact in the JW PLayer Support Forum and they deleted my post after a few days. From my point of view i didn’t say anything offensive nor did I state anything that wasn’t the truth. I also didn’t get a message from support telling me about about the reasons for removing my post.

              THIS IS CENSORSHIP!

              I respect the need of earning money. I also understand the need of advertising your product. BUT I can’t ignore the way they do business, nor how they react on other people’s opinions.

              This is my personal opinion:

              Either buy a licence, or GET THE HELL OUT OF THIS PRODUCT and try something else. There are "free" alternatives (flowplayer, etc.) and it’s your freedom of choice to try something else.

              Regards,

              pepebe
                Homepage: pepebe.de | MODX snippets (and other stuff) at github: https://gist.github.com/pepebe
                • 26849
                • 16 Posts
                Just to correct pepebe’s post, JW Player is open-source and FREE for non-commercial use. This is fairly standard.

                Looking at the website (https://www.longtailvideo.com/players/order2) it states that:

                All LongTail Video products require licenses when used commercially. Examples of commercial use include:
                (i) websites with any advertisements;
                (ii) websites owned or operated by corporations;
                (iii) websites designed to promote other products, such as a band or artist;
                (iv) products (e.g. a CMS) that bundle LongTail products into its offering.
                With respect to part (iv), CMS products, MODx does not bundle LongTail into its distribution, therefore it cannot be considered commercial under these terms. Perhaps they [JW] have amended their website documentation accordingly following pepebe’s post in their forum? The fact of the matter is, JW Player is free and there is no reason not to use it if you abide by its non-commercial terms.

                JB
                  • 23018
                  • 353 Posts
                  @jb2009

                  They didn’t change it. It’s still in the sidebar (here: http://www.longtailvideo.com/support/forum/Licensing-Questions/16414/Commerial-or-non-commercial-thats-the-question-#msg111515) and definitely in contradiction to what they write in the document you have discovered (there: https://www.longtailvideo.com/players/order2).

                  Reading the later one, I would agree, that it is free under the terms of point IV. Yet, I found an answer in the thread from a person named "Adam LongTail" that again contradicts this statement

                  Adam LongTail

                  @pepebe

                  ... Also, you left out the most important part of the quote: "IF YOU DON’T BUY A COMMERCIAL LICENSE, you cannot use a JW Player on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS."

                  This means that you CAN use a JW Player on ANY SITE as long as you buy a commercial license.


                  I don’t understand the context of the later statment. Perhaps I’m fighting with a language barrier here, but for me this sounds like this: "Integrate it into your CMS and you have to pay".

                  The whole thing feels a bit fishy for me and therefore I will not touch this software, until they do something about the unpleasant smell surrounding this particular piece of "free" software.

                  My reasons:

                  * I can’t find any useful "Terms of Use" that help me to understand the whole thing a bit better. I have a habit to put such things down on paper, so I can look them up later. I’m sure, this information is somewhere, but it seems to be well hidden.
                  * The site is clearly contradicting itself at least once.
                  * The only clear statement in favour of a free use within as CMS so far is a on-hover TOOLTIP, that can be seen, when I want to order a Commercial Licence? BAD, BAD, BAD THING, really!

                  Because I have the feeling it wouldn’t help to post another question in the jw flv player forum (they have "lost" my last one), I thnk it would be great if someone else would ask again and post the answer.

                  Regards,

                  pepebe
                  Somthing along the line of "I want to setup a personal, non-profit website, organized by the awsome MODx Content Management System (MODx CMS). Do I have to buy a licence, or not?"
                    Homepage: pepebe.de | MODX snippets (and other stuff) at github: https://gist.github.com/pepebe
                    • 25663 MODX Staff
                    • 12,272 Posts
                    I think the answer will be that the free version will be appropriate there. If you were distributing JWPlayer with a bundle including MODx, then it would need to be commercial.
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 19132
                      • 199 Posts
                      Hi,

                      What do I need to edit out of the snippet so that the src can be what I want it to be, eg, an amazon S3 account. JWPlayer is always looking into the interior of a site rather than an external URL to serve videos.
                        MySQL: 5.0.45
                        PHP: 5.2.6
                        Linux 2.6.9-023stab048.6-enterprise #1
                        cURL enabled
                        PDO enabled
                        FFox Apple 3.6.8
                        Firebug DIS-abled