I’m looking a way to get embedded video in PHP from WordPress post on a single.php page. I’ve implemented a slider that pulls post attachment images and would like to do the same for video. As the media upload limit in WordPress and practicality of uploading video to CMS are leading me away from using similar method, I need to find a way to get embedded videos.
get_embedded_video() is now depreciated and I cannot find anything else that can replace it. I tried get_attached_media() despite embedded is not clearly attached, and it didn’t work.
Any solution to this problem?