1. Modify the type for m_length and m_video_duration to FLOAT to match the interface of Set function.
2. Add function to convert seconds to ticks.