fixed bug in https ext image / video