Hello:
I am having a frustrating time trying to retrieve the value from my object wmp, which has the id = VIDEO. I used MSDN sample, but it doesn’t seem to be working?
I have this so far:
[CODE]function DisplayRunTime() {
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/controlscurrentposition.asp
//var timer = window.setInterval(“RunTimeText.value = VIDEO.controls.currentPositionString”,1000);
//window.setInterval(“RunTimeText.value = VIDEO.controls.currentPositionString”,1000);
document.getElementById(‘RunTimeText’).value = VIDEO.controls.currentPositionString,1000;
}
Then in the body, I have an input tag such as this:
[CODE]<INPUT TYPE=”text” size=”20″ ID=”RunTimeText” NAME=”RunTimeText”>
I receive no value when I load the page, so could someone please assist? Thank you so much.