Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter bustel

    (@bustel)

    there is a problem with websites of Mixed Contents…

    You have to install WPMovieLibrary-Trailers also to import trailers.

    Thread Starter bustel

    (@bustel)

    Yes, I know… I have this plugin installed… but it doesn’t work anymore… I think WPMovieLibrary must update to a newer version.

    New version there will be, I’ve started working on a complete rewrite of the plugin a few moths ago. No planned release date, but it’s under active work.

    Trailers won’t be part of it, though. They’re not reliable. Videos can be removed from YouTube without the API being updated, or simply be missing from the API while present on YouTube; the only effective way to have a real trailer support would be to use an additional, dedicated API, and I just don’t have any time for that right now. Version 3.0 is the top priority 🙂

    Thread Starter bustel

    (@bustel)

    Thanks for the re-ply. I would like to say that you did a great job with this plugin!

    Thread Starter bustel

    (@bustel)

    I have found the problem why the scripts aren’t working anymore. My site was switched to a https:// a few weeks ago and that’s why some scripts doesn’t work.

    I have found also a solution for the problems of those scripts.

    for the script of your trailers is a solution:
    the full URL should be placed in those, without the prefix https:

    change the file: class-wpmoly-trailers.php

    the “/assets/css/admin.css”, “/assets/css/public.css” and “/assets/js/wpmoly-trailers.js” are the problem…

    so…
    “/assets/css/admin.css” becomes: “//www.<yourwebsite>.fr/wp-content/plugins/wpmovielibrary-trailers-master/assets/css/admin.css”

    “/assets/css/public.css” becomes: “//www.<yourwebsite>.fr/wp-content/plugins/wpmovielibrary-trailers-master/assets/css/public.css”

    AND

    “/assets/js/wpmoly-trailers.js” becomes: “//www.<yourwebsite>.fr/wp-content/plugins/wpmovielibrary-trailers-master/assets/js/wpmoly-trailers.js”

    Thread Starter bustel

    (@bustel)

    It’s me again, there are a few errors again…

    so… the solution is:

    change the file: class-wpmoly-trailers.php to:

    /**
    		 * Register and enqueue public-facing style sheet.
    		 *
    		 * @since    1.0
    		 */
    		public function enqueue_styles() {
    
    			wp_enqueue_style( WPMOLYTR_SLUG . '-css', plugins_url() . '/wpmovielibrary-trailers-master/assets/css/public.css', array(), WPMOLYTR_VERSION );
    		}
    
    		/**
    		 * Register and enqueue public-facing style sheet.
    		 *
    		 * @since    1.0
    		 */
    		public function admin_enqueue_styles() {
    
    			wp_enqueue_style( WPMOLYTR_SLUG . '-admin-css', plugins_url() . '/wpmovielibrary-trailers-master/assets/css/admin.css', array(), WPMOLYTR_VERSION );
    		}
    
    		/**
    		 * Register and enqueue public-facing style sheet.
    		 *
    		 * @since    1.0
    		 */
    		public function admin_enqueue_scripts() {
    
    			wp_enqueue_script( WPMOLYTR_SLUG . 'admin-js', plugins_url() . '/wpmovielibrary-trailers-master/assets/js/wpmoly-trailers.js', array( WPMOLY_SLUG . '-admin' ), WPMOLYTR_VERSION, true );
    		}

    THEN the next step:
    SOLUTION FOR FIREFOX BROWSERS: install a special add-on for Firefox, the name is: Toggle Mixed Active Content version 2.0
    when it’s installed then click on the green A button then the button shows red. The problems are solved with this plugin.

    Thread Starter bustel

    (@bustel)

    The problem is solved with a plugin for Firefox called: Toggle Mixed Active Content.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘import trailers doesn't work anymore’ is closed to new replies.