fixed video playing bug