Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Changin YouTube Link and Iframe

Discussion in 'Misc WordPress Requests' started by aunpric, Nov 25, 2017.

  1. aunpric


    Reply To: Changin YouTube Link and Iframe, by aunpric

    @kjodle On Github The player has been Updated by the owner but WordPress Plugin Developer stop Providing update and The Problem is Player load to slowly And Use old css and Js If You can Help me with how can I load css and js From Cloudflare Cdn instead of my own server that would be helpful

    The Plugin Uses This Function to call css and Js

    wp_enqueue_style( $this->plyr, plugin_dir_url( __FILE__ ) . 'css/plyr-public.css', array(), $this->version, 'all' );

    wp_enqueue_script( $this->plyr, plugin_dir_url( __FILE__ ) . 'js/plyr.js', array( 'jquery' ), $this->version, false );

    wp_enqueue_script( $this->plyr . '-public', plugin_dir_url( __FILE__ ) . 'js/plyr-public.js', array( $this->plyr, 'jquery' ), $this->version, false );


    Here is The Cdn File https://cdn.plyr.io/2.0.18/plyr.css

    Reply To: Changin YouTube Link and Iframe

Share This Page

Monarch Social Sharing Plugin