• Resolved alfy40

    (@alfy40)


    I entered my instance URL with a trailing / and this caused the plugin not to display the Peertube playlist properly. The message is “Error convert JSON data” (I noticed the plugin was requesting URLs with double slashes and was receiving 404 error html content instead of JSON).

    Make sure to enter a Peertube instance url in Settings that is without a trailing slash.

    @dev on line 180 of peertube-playlist.php, right after:

    $peertube_url = get_option(‘pl_peertube_url’);

    Can you please add this:

    $peertube_url = rtrim($peertube_url,”/”);

    I’m still happy to give the first 5-star review to this plugin, that works very well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter alfy40

    (@alfy40)

    I also had to add this CSS:

    .video h3 {
    font-size: unset !important;
    }

    Plugin Author manu225

    (@manu225)

    Hi,
    Thanks for the feedback ??
    I’ll check that and release a new version soon

    Plugin Author manu225

    (@manu225)

    So i just released the version 1.06: now the / is automatically removed when settings are saved.
    For the CSS you added: you can set the size of the h3 in the playlist settings (title video size).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Small bug if instance url ends with a / (slash)’ is closed to new replies.