2011-04-24, 12:52 PM
The following "seems" to work:
But like most code pulled from the innards of an API I don't really understand, I'd like to know if it's ok?
Thanks
Iain
Code:
Int32 duration = new Int32();
int position = PlaybackPositionHelper.GetPlaybackPosition(path, out duration);
PluginHelperFactory.GetPluginHelper().PlayVideoFile(path);
IPlaybackProxy proxy = PluginHelperFactory.GetPluginHelper().GetPlaybackProxy();
proxy.SetPosition(position);
But like most code pulled from the innards of an API I don't really understand, I'd like to know if it's ok?
Thanks
Iain