• Hello,

    My site has lots of embeded videos from Youtube.

    I installed the plugin and it works very well on desktops.

    However, I don´t see (neither “Google Speed my test” or “Pingdom”) any differences in the mobile devices. I read what is written in FAQ´s and I added the code that is there in my theme (“Newspaper”), as “Custom HTML”.

    My questions are:

    1- did I do right? I mean, I must add that code as “Code HTML”, right?

    2- if “yes”, why the plugin doesn´t work on mobile devices?

    Thank you.

    Best regards.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Frank Goossens

    (@futtta)

    you need to add the code differently; either in your (child) theme’s functions.php or safer using e.g. the code snippets plugin.

    Thread Starter pedromiguelmoreira

    (@pedromiguelmoreira)

    Hello,

    The problem remains, in spite of adding the following code at the code snippets plugin:

    add_filter(‘lyte_do_mobile’,’lyte_on_mobile’,10,0);
    function lyte_on_mobile(){
    return true;
    }

    Any suggestion ,please?

    Thank you.

    Plugin Author Frank Goossens

    (@futtta)

    can you share your URL, I’ll have a quick look.

    frank

    Thread Starter pedromiguelmoreira

    (@pedromiguelmoreira)

    Hello,

    Yes, of course: videosupporters.com

    Thanks!

    Plugin Author Frank Goossens

    (@futtta)

    the video’s (on the homepage) are not “lyte” @pedromiguelmoreira, so something is wrong here ..

    Thread Starter pedromiguelmoreira

    (@pedromiguelmoreira)

    Any idea of what can be causing this?

    Plugin Author Frank Goossens

    (@futtta)

    no, not really. how are you adding your video’s?

    Thread Starter pedromiguelmoreira

    (@pedromiguelmoreira)

    First I upload them using this site: http://www.baixartube.com.br/ ,

    and then I put them in the posts “normally”, I mean, writing his URL at “Featured Video” of the post in WordPress.

    Plugin Author Frank Goossens

    (@futtta)

    ah, but WordPress core (so without plugins or a special theme) does not have “featured videos”, so this is something your theme or a plugin provides for you. the problem is that WP YouTube Lyte acts on “normal” content, so we’ll probably need some glue to make Lyte also turn your “featured videos” into Lyte videos.

    Thread Starter pedromiguelmoreira

    (@pedromiguelmoreira)

    I understand what you wrote, but so why WP YouTube Lyte works fine on desktops? I remind that the problems it only exists on mobile (this is just a reflection that I think it can be useful for you).

    The theme that I use is Newspaper, and in the documentation support it has only this written:

    “Featured Video will work only if you are using Video Format.

    To set a Featured Video for your post just place your Youtube, Vimeo, Dailymotion or Facebook video link in the required featured video post box.

    Video Format is perfect if you have a video and you want to show it in the beginning of your post.

    On pages, the video preview displayed will be generated automatically. After you update the post you can see the generated preview image in the Featured Image post box.”

    Thanks.

    Plugin Author Frank Goossens

    (@futtta)

    well, the homepage has no lyte-videos at all, neither on mobile nor desktop …

    you’ll have to ask the newspaper developers if they have a filter that we can use to alter the featured video field with. that way we can hook it to WP YouTube Lyte.

    Thread Starter pedromiguelmoreira

    (@pedromiguelmoreira)

    Really? The homepage doesn´t have lyte-videos on desktop? OK, sorry, I thought that it had…

    I´ve already made a request to the theme developers, let´s wait by their response.

    Thanks again.

    Thread Starter pedromiguelmoreira

    (@pedromiguelmoreira)

    Hello,

    Translate the answer of the theme developer (Newspaper):

    “Unfortunately not all plugins are compatible with premium themes. Some may work properly and others could create problems or interfere with the theme functionality. If you want to implement that feature for your videos, you could search for different plugins with this capability and try a few of them and maybe find one that works best. I can not make any recommendations in this matter because no such plugins were tested with the theme.”

    As a result, what do you suggest?

    Thank you.

    Plugin Author Frank Goossens

    (@futtta)

    I suggest to ask them if they have a filter we can use to hook into the “featured video” field 🙂

    Thread Starter pedromiguelmoreira

    (@pedromiguelmoreira)

    Hello,

    Here the answer of the theme developer:

    “You can find the code used for featured videos here – https://www.screencast.com/t/2kwabn0mXwOO and here – https://www.screencast.com/t/vBmJyrwwM”

    Thanks.

Viewing 15 replies - 1 through 15 (of 18 total)

The topic ‘Plugin in Mobile devices’ is closed to new replies.