We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27499
    • 4 Posts
    alexZero - it’s a good little toy, as far as QA testing goes, you have a community here at your disposal to test for you, just ask people we all run slightly different setups and configs and are a great resource!
      • 7455
      • 2,204 Posts
      could you add godtube to this?

      that would be great
        follow me on twitter: @dimmy01
        • 4971
        • 964 Posts
        does this support Vimeo?
        if not, could you add it too?
        thanks...
          Website: www.mercologia.com
          MODX Revo Tutorials:  www.modxperience.com

          MODX Professional Partner
          • 2603
          • 104 Posts
          Hello!

          I would like to understand how to use this snippet.
          I have created it. What next? How can I add new videos and manage then manage it?

          Thank you!
            Getting higher! | www.djabuzz.com
            • 16505
            • 14 Posts
            Quote from: charliez at Jan 25, 2009, 02:10 PM

            does this support Vimeo?
            if not, could you add it too?
            thanks...

            Add this in serviceList.php
            'vimeo' => array(
                'urlp'=>'http://vimeo.com/moogaloop.swf?clip_id=',
                'urls'=>'&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=ffffff&fullscreen=1',
                'active' => true
              )

              Jezus is Stoer, ik nummer 2.
              • 6539
              • 5 Posts
              I am having a little bit of trouble with this. I installed everything fine and went by the read me but seem to be getting the message No Service Set!

              The scripts looks like they are being placed correctly in the head of the page.
              <script type="text/javascript" src="/modx/assets/snippets/AjaxVideoBoxConnector/swfobject.js?116"></script>
              <script type="text/javascript" src="/modx/assets/snippets/AjaxVideoBoxConnector/scriptaculous/prototype.js?116"></script>
              <script type="text/javascript" src="/modx/assets/snippets/AjaxVideoBoxConnector/scriptaculous/scriptaculous.js?load=effects"></script>
              <script type="text/javascript" src="/modx/assets/snippets/AjaxVideoBoxConnector/ajax.videobox.js?116"></script>
              


              I tried with a Revver video and YouTube.

              Thanks.

              I figured it out. The call in the read me didn’t have the & sign, and since I am new to this I didn’t realize the was the problem.
                • 12416
                • 1 Posts
                First off, I think this snippet is a great idea and I am really excited on how easy it is to use. The only trouble I seem to run into is that I added the snippet code (posted below) and it seems that my header_code is not being included into my source code.

                [!vid?s=local&t=Race Crash Video&i=crash.flv!]


                I have setup the paths correctly, the only thing is the the video does not play in the popup box, but taking up the whole screen as if linking to the FLVPlayer (which is what it is doing.)

                Is there something I am missing in setting up the snippet code?

                Edit: Apparently, this problem is only happening in Google Chrome, oddly enough. Firefox, IE, Safari all have the popup window working.

                Thanks in advance.
                  • 16932
                  • 31 Posts
                  Hello, i thinks this is a great snippet but the read me file is not all that clear.

                  Most of us wanne post a you tube video and see it work. May ad something like this to make it easier.
                  It took me a whil to figure it out. Any way great work and I am very thankfull for this!!!

                  Easy youtube sample:
                  [!vid? &s=`yt` &t=`http://www.youtube.com/watch?v=` &i=`ehmTBsmZhmY`!]
                    • 1058
                    • 14 Posts
                    @lennardwoering:
                    the ’t’ parameter is for linktext assingment so it not link’s to the ’youtube.com/watch/’-page.
                    this is not possible because the js snippet looks for the link to the flashplayer to build the layered box.

                    @hpc:
                    as you use no ’`’ in the snippet calls it is possible that nothing works, i have used other snippets - also wihout this apostroph stuff and many of them would not work correctly.
                    as in readme it is required to use this call in your template:
                    [!vid? &hc=`1`!]

                    and for the video clip something like:
                    [!vid?s=`local` &t=`Race Crash Video` &i=`crash.flv`!]

                    i am not shure if this ’local’-called service needs the full-path to the player.swf for better usability.

                    actually i uploaded a version 0.6.1 - only fixed some typo’s in the readme.txt, but i think of some rewriting the code and updated js lib’s because of higher compatibilty to for example google chrome.