This function just calls _loadedmetadata, which is a waste. Just call directly