{ Dev Farm }

Web & Windows Development

Conflict with MediaElement.js

Home Forum Wp Gpx Maps Support Conflict with MediaElement.js

Questo argomento contiene 5 risposte, ha 2 partecipanti, ed è stato aggiornato da  max 5 giorni, 5 ore fa.

Stai vedendo 6 articoli - dal 1 a 6 (di 6 totali)
  • Autore
    Articoli
  • #79740 Risposta

    Simon Dellis

    Hi Max

    Can you help with this problem? I realize that support is not ongoing for your excellent free plugin. Maybe it is a simple fix?

    The chart will not load with MediaElement.js – Here is my example;
    http://kiwigrom.com/test/ WordPress using Qode Bridge theme that contains reference to MediaElement.js – No Chart
    http://kiwigrom.com/gpx.html MediaElement.js code commented out – same dataset.

    Thank you.

    Simon

    #79854 Risposta

    Simon Dellis

    Figured it out.
    Made the script register the plugins.js file before loading chart.js
    – wp_register_script(‘chartjs’, plugins_url( ‘/js/Chart.min.js’, __FILE__ ), array(‘plugins’), “2.7.2” );

    #79882 Risposta

    Christof Bodner

    Hi,

    I think UI have the same problem.

    @Simon: where to put the code exactly? Did you commit in the GIT?

    BTW: I like the plugin a lot!

    KR,
    Christof

    #80021 Risposta

    Christof Bodner

    Well, I found out the location of the line you mentioned. It’s in the file
    wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php

    But when I added the missing element ‘plugins’ in the array the error is not fixed. The behavioiur changes, without the ‘plugins’, the map area is gra, with the statement, it’s white. But there is no map in both cases.

    As I am not so in this PHP abd JavaScript stuff, I need help to fix this plugin, because it firs perfectly to my needs!

    KR,
    Christof

    #82004 Risposta

    stefano

    please can you explain how to fix it?

    thank you

    #82124 Risposta

    max
    Amministratore del forum

    Hello there is no ‘plugins’ in the wordpress core: https://developer.wordpress.org/reference/functions/wp_register_script/
    there might somenting else int the theme or in other plugin that breake javascript code

Stai vedendo 6 articoli - dal 1 a 6 (di 6 totali)
Rispondi a: Conflict with MediaElement.js

You can use BBCodes to format your content.
Your account can't use Advanced BBCodes, they will be stripped before saving.

Le tue informazioni:




:bye:  :good:  :negative:  :scratch:  :wacko:  :yahoo:  B-) 
more...
 

Non è possibile lasciare nuovi commenti.