Hi, the markup I see in the page source code doesn’t seem to be generated by Schema plugin!
Just to make sure, deactivate the Schema plugin and test your page again.
P.S. If you caching your site, clear cache whenever you modify your site so that changes can take place.
Hesham,
I did that to verify before posting. I also just retested by disabling the plugin, clearing cache and retesting. It disappears when the Schema plugin is disabled. For some strange reason I can’t reproduce in Chrome. However I can reproduce in Firefox and MS Edge.
This is strange! I’ve tested the plugin now and it seems to work fine.
The markup doesn’t output Video Object unless you activate it and there is an actual YouTube video URL in the post content.
I still believe this is just a caching issue, it maybe not caused by a cache plugin though. The Schema plugin it self caches markup in post meta, then flush it when you update the post, or generally when saving plugin settings.
Can you please try again, this time after activating the plugin go to the Schema plugin settings and save it once, then test your markup again.
Let me know how it goes.
Hesham,
Okay, I tried saving settings in Schema:Settings and saving the post again. No change. However, you mentioned that the “markup doesn’t output the Video Object unless … there is an actual YouTube video URL in the post content”. In this case, the hyperlink in the post is https://youtu.be/QQw8KDlZnBQ?t=1288 even though I’m not embedding the video. Is this triggering it?
Get in touch with me through this form, and maybe I can have a deeper look into this issue.