“Play” value gets into Schema, Social sharing
-
I’ve noticed that unfortunately when I share my posts on Social Media, or in my Schema.org data, the word “Play” appears wherever there is a youtube block, breaking the text.
My guess is that this is a result of this Span class that unfortunately even if it has this “visually-hidden” class gets read both by Google and Social Medias.
<figure class=”wp-block-boldblocks-youtube-block”><div id=”yb-video-xxxx” class=”yb-player lazy” data-video-id=”xxx” data-title=”Play” style=”background-image: url(xx.jpg;);” data-bg=”url(https://xxx.jpg)” data-was-processed=”true”><button type=”button” class=”yb-btn-play”><span class=”visually-hidden”>Play</span></button></div></figure>Now, in your css I found .visually-hidden{clip:rect(0 0 0 0) but there is no display:none. Sadly I’ve noticed that if I add this into my CSS it breaks everything, the video is not loaded anymore.
Any solution?
Thank you!
The topic ‘“Play” value gets into Schema, Social sharing’ is closed to new replies.