• Resolved nylarosie

    (@nylarosie)


    The clear cache was working but now does not update to the latest video in the playlist. There is a new video in ‘Talking to local heroes’ and this has not updated.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 25 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    that’s strange … can you do a quick test; make a new page and add the same playlist there and check if you see the new video thumbnail being used?

    Thread Starter nylarosie

    (@nylarosie)

    Yes, the new thumbnail is shown when I add in a new page (currently up on the site).

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, can you use the code snippet shown in https://blog.futtta.be/2015/04/27/how-to-see-wp-youtube-lytes-cache-for-a-post/ to ensure the LYTE cache is shown for the page where you can then remove the cached info manually?

    Thread Starter nylarosie

    (@nylarosie)

    Trying this. I put the snippet in via wp code snippets and it has made no difference.

    • This reply was modified 8 months, 3 weeks ago by nylarosie.
    • This reply was modified 8 months, 3 weeks ago by nylarosie.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    After adding and enabling the snippet, did you go to the “edit” view of the page and did you check the “custom fields” there? it _should_ show the LYTE cache field there which you can then empty to manually clear the cache?

    Thread Starter nylarosie

    (@nylarosie)

    Hi Frank, I am using the free version of wpcode and I chose ‘run everywhere’. It shoud work on the page but I can’t choose page scripts.

    I am going to try a different plugin to insert the code.

    Tried XYZ scripts and does not work. I inserted the php snippet both as a widget and as a shortcode on the page and it has made no difference.

    • This reply was modified 8 months, 3 weeks ago by nylarosie.
    Thread Starter nylarosie

    (@nylarosie)

    There is nothing on the edit view of the page that shows the lyte cache fields

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I think by default the “custom fields” are not visible, if so when in “classic editor” click on “screen options” near the top right of the page and make sure “custom fields” is selected. see https://www.wpbeginner.com/wp-tutorials/how-to-fix-custom-fields-not-showing-in-wordpress/ for the procedure when you’re using the block editor.

    Thread Starter nylarosie

    (@nylarosie)

    I have managed to show custom fields using block editor but the lyte cache field does not show in the list.

    It does give me and option to ‘Add new custom field’

    • This reply was modified 8 months, 3 weeks ago by nylarosie.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    So just so we’re clear, you’re in the edit screen of the /communikarma-youtube-channel/ page and you don’t see the LYTE-cache custom field even if the code snippet is active?

    Thread Starter nylarosie

    (@nylarosie)

    Yes, on the PHP Code Snippets entry the snippet is described as ‘active’

    When I go to the page in wordpress block editor there is no LYTE-cache custom field. It goes from installed_at_version to meta_id

    By the way, I am using Elementor. Not sure if that is relevant.

    This is the snippet:

    <?php
    if (is_admin()) {
    add_filter( 'is_protected_meta', 'lyte_unprotect_meta', 10, 3);
    }
    function lyte_unprotect_meta($protected, $meta_key, $meta_type) {
    if (strpos($meta_key,"lyte")===0){
    return false;
    } else {
    return $protected;
    }
    }
    • This reply was modified 8 months, 3 weeks ago by nylarosie.
    • This reply was modified 8 months, 3 weeks ago by nylarosie.
    Thread Starter nylarosie

    (@nylarosie)

    any ideas? @optimizingmatters

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    not immediately I’m afraid nylarosie .. it’s been some time since I’ve used the snippet myself, I’ll test it on one of my own site shortly and get back to you with more info and (hopefully) a solution.

    Thread Starter nylarosie

    (@nylarosie)

    Hi Frank, it seems to update in mobile but not desktop?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    on mobile LYTE by default switches to a normal embed after onLoad, whereas on desktop you see the real LYTE dummy player until being clicked on, hence the difference.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Not updating playlist’ is closed to new replies.