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!
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?
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.
North America
Europe, Middle East and Africa
Asia Pacific