Some code update, Fix no displaying video if there is no video