wp_embed_register_handler with Openload

Hello i am trying to make a wp_embed_register_handler for my openlaod videos so i can use it with the Detube theme in the Video URL box. ex https://openload.co/embed/djDd-6yf8tU/ It dont support oembed tho how would i do this? i heard i would use

 * Register an embed handler for Openload videos
add_action( 'init', function()
        '#http://www.openload.co/embed/([a-zA-Z0-9_-]+)$#i',   // 
} );

But ive tried to add it to my functions.php file and no luck i been trying hours its getting me so worked up haha any help or ideas would be great! thanks in Advance 🙂

Read more here: wp_embed_register_handler with Openload

Leave a Reply

Your email address will not be published. Required fields are marked *