Change function name to be more specific.

Also add phpDoc.
Do not use regex for oEmbed provider match.

Fixes #1.