When reamapApi was being called for device file it was performing IO on
the WebCore thread and throwing an IllegalState exception. This seems
to have only been a problem when local URL corresponded to a video file.
Moved calls to remapApi for device URLs within new thread context so
that IO is performed on background thread.
For android
When reamapApi was being called for device file it was performing IO on the WebCore thread and throwing an IllegalState exception. This seems to have only been a problem when local URL corresponded to a video file.
Moved calls to remapApi for device URLs within new thread context so that IO is performed on background thread.