Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter amin

    (@aminsg)

    hi i build the code
    if anyone need it

    UPDATEwp_postsSETpost_content`=replace(post_content, ‘<!– wp:video –>’,'<!– wp:html –>’) ;

    UPDATE wp_posts SET post_content=replace(post_content, ‘<video controls preload=”none” src=’,'[videojs_video url=’) ;

    UPDATE wp_posts SET post_content=replace(post_content, ‘></video>’,’ preload=”metadata”]’) ;

    UPDATE wp_posts SET post_content=replace(post_content, ‘<!– /wp:video –>’,'<!– /wp:html –>’) ;`

Viewing 1 replies (of 1 total)