We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21026
    • 53 Posts

    Hi Alex, and thanks for you snippet.

    I try to use it with local files, but it doesn’t works...
    In fact the link is created and it looks like that:
    <a href="/snippets/AjaxVideoBoxConnector/player.swf?file=" rel="videobox">link_text</a>


    Here is my snippet call:
    [!videoBox? &s=`local` &t=`link_text` &i=`MOV02798.flv`!]


    I’m probably missing a thing, but i don’t know what... undecided
      • 1058
      • 14 Posts
      Sorry for late answer, i tried to locate some possible solutions..

      If you use it with local files you have two possibilities to embed videos, the first ist to fix the path in the servicesList.php as mentioned in the readme.txt or you need to specify the whole path - including "httpp://" + your domain + path to file

      The snippet call looks correct, but it seems that the path is not correct as mentioned before.
        • 21026
        • 53 Posts
        Thanks Alex,
        I’ll try the whole path thing as soon as possible, cause i’m really busy right now.
        One more question, the video file must be flv, or other type of video can be use?
          • 1058
          • 14 Posts
          It should be one of this: FLV, MP4, MP3, AAC, JPG, PNG or GIF - because it is the JW FLV MEDIA PLAYER you can find there more detailed informations and documentary for the player.swf.
            • 31471
            • 206 Posts
            The &i parameter won’t work since the snippet parses &id instead.
            For the path change the local ’urlp’ line like this:
            ’urlp’=>’assets/snippets/AjaxVideoBoxConnector/player.swf?file=’,
            to work.
              • 1058
              • 14 Posts
              Ok, i just uploaded a bug-fixed release.

              Only difference is on line 19:
              NEW $input = $i;
              OLD $input = $id;

              Since now it should work grin
                • 2728
                • 1 Posts
                Hi Alex!

                I have a question because all the link that I have put on my page open correctly the link to dailymotion for example but the video is playing into the same windows, full screen, with no "effects".... http://www.telemark-attack.tk/index.php?id=47

                Do you know what’s happening, do I have to put something into my <header> to help to find the javascript files or the css?

                Thanks

                Yves
                  • 1058
                  • 14 Posts
                  I just viewed the source of your site, the thing why it fails is that some code in the header-section is not in place.

                  The Ajax-Box depends on the following lines of code:
                  <script type="text/javascript" src="/assets/snippets/AjaxVideoBoxConnector/swfobject.js?116"></script>
                  <script type="text/javascript" src="/assets/snippets/AjaxVideoBoxConnector/scriptaculous/prototype.js?116"></script>
                  <script type="text/javascript" src="/assets/snippets/AjaxVideoBoxConnector/scriptaculous/scriptaculous.js?load=effects"></script>
                  <script type="text/javascript" src="/assets/snippets/AjaxVideoBoxConnector/ajax.videobox.js?116"></script>
                  <link rel="stylesheet" href="/assets/snippets/AjaxVideoBoxConnector/styles.css?116" />

                  Insert to header and it (should) work fine smiley
                    • 27499
                    • 4 Posts
                    i had fun with this - followed every instruction... didn’t work...


                    until...


                    ....you need to ensure that the paths for the scripts are "[(base_url)]assets/snippets/...(etc)" to guarantee it works on any setup.


                    other than that it’s all shiny!
                      • 1058
                      • 14 Posts
                      Sorry for all this caused inconvenience, this was my first try to release someting which is helpful for others.
                      For the next time of any release I will do more quality tests before any public release.