Hi,
I am using f_in_box__lib.dll.
I have created application which uses the above mention lib file. Its works fine on Win 2003 server, but when i execute it on Win XP, there is some problem.
After debugging the application i found out the following :
(On a button click i load the video into FlashVideoPlayer. At this point of time video is not playing)
f_in_box__control1.FlashProperty_FlashVars = @"type_video=flv&url=http://FLV/FlashVideo.flv";
f_in_box__control1.PutMovieFromStream(ms);
f_in_box__control1.FlashMethod_CallFunction("<invoke name=\"hideAllControl\" returntype=\"void\"><arguments></arguments></invoke>");
There is a Timer control used in which i have this code :
// when video is loaded, 'FlashProperty_FrameNum' value is 0
if (f_in_box__control1.FlashProperty_FrameNum != -1)
{
// on this line there is a problem
// on windows 2003 server, i get strXMLPosition = "<Number>0</Number>" where as on windows xp i get value as "". (empty)
string strXMLPosition = f_in_box__control1.FlashMethod_CallFunction("<invoke name=\"getCurrPosition\" returntype=\"xml\"><arguments></arguments></invoke>");
XmlDocument doc = new XmlDocument();
doc.LoadXml(strXMLPosition);
System.Globalization.NumberFormatInfo NumberFormatInfo = new System.Globalization.NumberFormatInfo();
NumberFormatInfo.NumberDecimalSeparator = ".";
float Position = float.Parse(doc.DocumentElement.InnerText, NumberFormatInfo);
string time = "";
if (-1 != Position)
{
...
}
...
}
Waiting for the reply
Thank You
Amey