Dynamic rich media component for ASP.Net Flash, Video and Audio controls for C# and VB.Net
Welcome Guest Search | Active Topics | Members | Log In | Register

Access MediaLabel Position Programatically Options · View
bkyoun77
Posted: Friday, May 14, 2010 10:49:03 PM
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.
Jake
Posted: Sunday, May 16, 2010 4:09:47 AM
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
bkyoun77
Posted: Monday, May 17, 2010 4:53:09 PM
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.
Jake
Posted: Monday, May 17, 2010 6:51:55 PM
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
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.