Does this also work for other embedded videos? Vimeo? etc. or should the code of the match be altered for that? I think it is this code right:
preg_match(‘%(?:youtube\.com/(?:user/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^”&?/ ]{11})%i’, $post[0]->post_content, $match);
Should become
preg_match(‘%(?:vimeo\.com/(etc. etc.
What should I do to make it like that? (PHP skill basic, but ready to learn! ??
Thanks!