Parse options from AMF metadata
Fix typo