Skip to main content
Participating Frequently
August 16, 2010
Question

Bookmarking?

  • August 16, 2010
  • 1 reply
  • 1590 views

Hello,

Is it possible to 'bookmark' a users location to be stored and retreived if they come back at a later date?  We mainly use videos in our LMS for training, and some of them are over an hour long.  Our course providers want to ensure that the users have watched the entire video, so when I made our flash player, I didn't include fast forward buttons.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    August 17, 2010

    I think what you mean by location is exact time pf play where user last viewed the video before closing it. I suppose if that's the case you can do such bookkeeping using some combination of server-side and client-side scripting. You just need to write some kind of bookkeeping logic to get it working.

    You can basically give viewer a bookmark option , once clicked on this, you can either use say server-side remote shared objects to link viewer credentials with video details and time where he/she stopped or say send those details and store it some xml based file for later retrieval.

    Next time when same user tried to play same video, you can start the play for him using bookmarked location.

    Participating Frequently
    August 17, 2010

    Yes, that is the basic functionality I am looking for.  Well, I'd like it to happen automatically, but a button might work too.  It it possible to store the xml file on the FMS, or does that need to happen locally, on the users computer?

    Thanks again (I'm a bit of a noob when it comes to all of this, but I'm getting there)

    Participant
    August 20, 2010

    You can store this information locally - using local shared objects lets say you were using Flash's FLYPlayback player


    function rememberSecs(){
        
         user_so = SharedObject.getLocal("user");
         user_so.data.videoSecs = myFLVPlayback.playheadTime;
         user_so.flush();
    }

    setInterval(rememberSecs,1000);

    The users time position in the movie is then stored every second in a local stored object on their computer. Then when the user comes back you can read this value with:

    user_so = SharedObject.getLocal("user");

    lastSecsPosition = user_so.data.videoSecs;

    and set the playhead to that point in the movie

    Thanks

    _Pez