Rank: Newbie Groups: Member
Joined: 5/14/2010 Posts: 9 Points: 27 Location: USA
|
How can I access the video position (that is shown in the media label) programatically? I am using C#. Thanks.
|
Rank: Administration Groups: Administration
Joined: 7/26/2007 Posts: 676 Points: 1,728 Location: USA
|
You are thinking of runtime code. Use the Javascript API for your media Player to read positions. http://www.aspnetmedia.com
|
Rank: Newbie Groups: Member
Joined: 5/14/2010 Posts: 9 Points: 27 Location: USA
|
Where can I find good documentation on using the Javascript API to read positions? The documentation on this website only shows how to use the API, for Play, Pause, NextTrack, etc.
|
Rank: Administration Groups: Administration
Joined: 7/26/2007 Posts: 676 Points: 1,728 Location: USA
|
The trick is to look at the JavaScript API for the PLAYER. By Player i mean ASPNetFlash, ASPNetFlashVideo, ASPNetAudio or ASPNetVideo. For example - if you are using ASPNetVideo - look on the ASPNetVideo site (links are on teh top right of this page) - then click on the manual navigation to your left: e.g. http://www.aspnet-video.com/ASPNetVideo/documentation/?help=ASPNetVideo_JavaScript_API http://www.aspnetmedia.com
|