add firebase support for video, photo and wechat