Skip navigation
elgransan2
Currently Being Moderated

can I get the time where the playback is

Jul 21, 2011 8:57 AM

I'm using FMP, is perfect!

 

But now I have a need, I want to let the user that uploaded the video to select the post image, what I'm thinking is to show the video with FMP on a web page and let him to select the minute he wants to upload it to my server where I'll extract the video frame... so, It's possible to pass the current video minute to a web container DOM object (like input hidden or something)?

 

Thanks!

 
Replies
  • Currently Being Moderated
    Jul 21, 2011 9:04 AM   in reply to elgransan2

    If I understand correctly, you want:

    - to send to the server  a request when the user clicks a button.

    - The request should contain the current position of the playback

    - the request should be done by a script in the web page.

     

    If it is so, you could use the strobe media playback JS API to get the current position and to use javascript to send the request, with a little bit of JS programming. It should work with SMP - I do not think FMP has support for that.

     

    Is this the case, or I just misunderstood?

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 21, 2011 9:18 AM   in reply to elgransan2

    You have an example on how to get the currentTime in javascript in this example:

     

    http://osmf.org/dev/1.6-sprint-3/hello-world-javascript.html

     

    There are also other JS API demos on http://osmf.org/dev/1.6-sprint-3

     

    Let me know it it worked.

     

    S.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 1, 2011 9:27 AM   in reply to Silviu Vergoti

    Hi,

     

    The hello-world-javascript example is very useful. However, this doesn't seem to work after I have downloaded the strobe media player. It works fine on adobe website, but not on my local. Am I missing something ?

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 5, 2011 1:08 AM   in reply to dibs_2011

    Hi,

     

    Do the player and the loading page should come from the same domain?

     

    There are security limitations imposed by flash, you could search the forum for similar problems.

     

    S.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points