• Hi,

    I’ve tested the plugin on our staging site and it seems to work well. Your plugin calls the iframe from youtube-nocookie.com which is obviously good for privacy and GDPR compliance. However, no views or watch hour statistics are registered on the associated YouTube account, which is an issue for a channel that relies on external traffic.

    Privacy and GDPR compliance can be achieved with a separate cookie control plugin that makes YouTube cookies optional.

    Is it possible to have an option to call the iframe direct from YouTube (youtube-nocookie.com could still be the default for general users)?

    If so, would statistics be registered with the associated YouTube account, or is there something about the plugin that will block them regardless?

    Thanks for your help

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

    (@optimizingmatters)

    Currently this is not possible jazzonvinyl, but you if you edit wp-youtube-lyte/lyte/lyte-min.js and in there change the 2 occurrences of www.youtube-nocookie.com in that file into www.youtube.com it will use that domain.

    As far as I know LYTE does not block statistics, but I don’t know YT well enough to confirm if statistics will be registered is using the normal domain I’m afraid.

    hope this helps,
    frank

    Thread Starter jazzonvinyl

    (@jazzonvinyl)

    Hi Frank,

    Thanks for the fast reply! I edited that file and also lyte.js as that had references to youtube-nocookie.com too. Is it necessary to change both?

    It loads the iframe from youtube.com now but I don’t see any views being registered in YouTube Studio. I know the play count can take a while to update but I should be able to see the views registered under Analytics / Realtime.

    If I embed a YouTube video in a standard WordPress post block on a site without this plugin, I can see the views being registered on YouTube in realtime.

    So looks like it might be something to do with this plugin, any ideas?

    Thanks for your help!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    depends on what “view” implies, but if that is the number of times the video was displayed without being played then that would be logical as the YT vid is only loaded when the user clicks on it?

    Thread Starter jazzonvinyl

    (@jazzonvinyl)

    I understand that when the video first displays it’s just the thumbnail and won’t register as a view. When I say view I mean after the user clicks on the thumbnail and the iframe loads and actually plays the video.

    If I click play on a video embedded in a standard WordPress post without this plugin, I can see the realtime view appear in my YouTube Studio dashboard as I’m watching the video. If I click play on a video with this plugin, no realtime view shows in YouTube Studio.

    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Afraid in that case I have no idea jazzonvinyl, sorry .. :-/

    Thread Starter jazzonvinyl

    (@jazzonvinyl)

    No problem. I’ve investigated and carried out some testing. Calling the player from youtube-nocookie.com does indeed stop the views being registered but it’s also caused by the forced autoplay parameter. Which is why no views were being registered after changing the .js files to youtube.com

    I understand the logic behind the forced autoplay as it makes sense to the user if the video plays after clicking on the thumbnail. However, some website owners may want to have their plays registered (albeit at the expense of an extra user click)

    I appreciate that this is a feature request but would it be possible to have an option added to load from youtube.com and an option to disable the autoplay parameter? It would be ideal if this could be built in rather than having to hack the plugin.

    Thanks again for all your help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Option to load direct from YouTube not youtube-nocookie.com’ is closed to new replies.