add support Spark player
bug fix for local file preview.