Camtasia jerking me 'round...

4 replies
  • WEB DESIGN
  • |
Hi there, folks!

I'm having some trouble trying to wrangle Camtasia.

I'v got two screencap vids that I'd like to show on two different pages in the same directory (the Root Directory, actually).

I tried uploading the first file to .../camtasia-vids/vid1/

and making relative file paths, but it wouldn't load properly.

As soon as I put all the files in the root domain, however, it all worked like a charm.

I reasoned, therefore, that the files need to be in the same directory as the page on which the vid is being played.

But surely this doesn't need to be the case.

I then uploaded vid number 2 to the root, but it wants to play vid1+vid2 (together!) for some bizarre reason.

Trying absolute file paths (as below) is useless. It loads the image shell, but nothing else.

I'm sure it's something simple that I'm overlooking.

Any Camtasia champions out there who can point me in the right direction?

Code:
This bit is in the head...

 <script type="text/javascript" src="http://www.my-full-file-path-here/flashobject.js"></script>    
   <script type="text/javascript">
      <!-- To load a movie other then the first one listed in the xml file you can specify a movie=# arguement. -->
      <!-- For example, to load the third movie you would do the following: MyProjectName.html?movie=3 -->      
      // <![CDATA[
      var args = new Object();
      var query = location.search.substring(1);
      // Get query string
      var pairs = query.split( "," );
      // Break at comma
      for ( var i = 0; i < pairs.length; i++ )
      {
         var pos = pairs[i].indexOf('=');
         if( pos == -1 )
         {
            continue; // Look for "name=value"
         }
         var argname = pairs[i].substring( 0, pos ); // If not found, skip
         var value = pairs[i].substring( pos + 1 ); // Extract the name
         args[argname] = unescape( value ); // Extract the value
      }
      // ]]>
   </script>        

    <style type="text/css">       

       #noexpressUpdate
       {
          margin: 0 auto;
            font-family:Arial, Helvetica, sans-serif;
            font-size: x-small;
            color: #003300;
            text-align: left;
            background-image: url(http://www.my-full-file-path-here/FileName-Here_nofp_bg.gif);
            background-repeat: no-repeat;
            width: 210px; 
            height: 200px;    
            padding: 40px;
       }
    </style>
    

    
And then this bit goes in the body...    


<div align="center">

<div id="flashcontent">               
            <div id="noexpressUpdate">
              <p>The Camtasia Studio video content presented here requires JavaScript to be enabled and the  latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by <a href="http://www.macromedia.com/go/getflashplayer">downloading here</a>. </p>
            </div>
       </div>
      <script type="text/javascript">
          // <![CDATA[          
         var fo = new FlashObject( "http://www.my-full-file-path-here/FileName-Here_controller.swf", "http://www.my-full-file-path-here/FileName-Here_controller.swf", "640", "465", "7", "#FFFFFF", false, "best" );
         fo.addVariable( "csConfigFile", "http://www.my-full-file-path-here/FileName-Here_config.xml"  ); 
         fo.addVariable( "csColor"     , "FFFFFF"           );
         fo.addVariable( "csPreloader" , 'http://www.my-full-file-path-here/FileName-Here_preload.swf' );
         if( args.movie )
         {
            fo.addVariable( "csFilesetBookmark", args.movie );
         }
         fo.write("flashcontent");                 
         // ]]>

       </script>  

</div>
Thanks!

TheNightOwl
#camtasia #camtasia video #flash video #flash video player #jerking #round
  • Profile picture of the author TheNightOwl
    Hi Nathan

    Thanks very much for responding to my post.

    Actually, the files are all in two separate folders already, with full file paths to everything, as indicated.

    Interestingly, I discovered with some twiddling (and actually due to Adrian Ling's excellent EasyClick404) that I can have the full file paths to different directories all I like, but the file that I actually want to play (i.e. "my-file.swf") needs to be in the same directory as the page on which I want to play it.

    So I've got all the other files for Video A and B in "/subdirectory/setAfolder/" and "/subdirectory/setBfolder/" respectively.

    But I need to have "VideoA.swf" and "VideoB.swf" in the root directory (which is the directory in which the pages on which I want to play the vids reside) for them to play.

    One of the videos is 4mins; the other is 9.

    The 4 minute one plays, no problem.

    The 9 minute one, however, plays the 4 min one first and then the 9 minute one directly after -- which is obviously not what I want.

    I suspect this piece of code from the Camtasia output may hold a clue:
    Code:
          <!-- To load a movie other then the first one listed in the xml file you can specify a movie=# arguement. -->
          <!-- For example, to load the third movie you would do the following: MyProjectName.html?movie=3 -->
    But...

    (a) I don't see how the .xml file could be influencing things given that I've got the two different .xml files in two completely different directories, and

    (b) I don't know where to add this argument or what to do with it (code-wise) anyway.

    I'm completely at a loss here. And completely frustrated, to boot.

    Anyone?

    Thanks,
    TheNightOwl
    Signature
    {{ DiscussionBoard.errors[1032201].message }}
  • Profile picture of the author TheNightOwl
    *** bump! ***

    ---------------

    I'm still lost here.

    Does anyone know how to play more than one Camtasia video on a site?

    It feels so simple that it's almost laughable, really, but I still haven't managed to work it out. :confused: Booooooo! Hiss.

    Am I ... Attachment 2588 ?







    Signature
    {{ DiscussionBoard.errors[1150932].message }}
  • Profile picture of the author Aronya
    NightOwl, can you post your xml files? That might help.
    {{ DiscussionBoard.errors[1151600].message }}

Trending Topics