Javascript how add markers in html5

Viewed 38

I'm using the plyr.io with tutor lms plugin. But I have a problem!

I enabled video markers, but it enabled all videos on the site, I can't choose which video I want.

        if ( is_single_course( true ) ) {
            wp_enqueue_style( 'tutor-plyr', tutor()->url . 'assets/packages/plyr/plyr.css', array(), TUTOR_VERSION );
            wp_enqueue_script( 'tutor-plyr', tutor()->url . 'assets/packages/plyr/plyr.polyfilled.min.js', array( 'jquery' ), TUTOR_VERSION, true );
        } ```

0 Answers
Related