Today I found that my site (WordPress-based) has some mistakes in YouTube urls, like "https://www.youtube.com/embed/VIDEO_ID&autoplay=1". The autoplay should be preceded by ?, so it's returning error.
How can I use mysql to correct it? I know that I can use something like:
UPDATE wp_posts SET post_content =
replace(post_content, '/embed/VIDEO_ID&autoplay', '/embed/VIDEO_ID?autoplay' ) ;
But how to deal with the VIDEO_ID?