Your resource must be searchable or an exception will be thrown if you try to set the currentTime attribute. In addition, you only want to set currentTime to the range specified by the seekable attribute. The range starts at startTime and goes into duration.
source share