itemprop uploadDate not set consistently
-
Hi Frank,
thanks for the great work on the plugin. Following the discussion on schema warnings, I’d like to draw your attention also to the itemprop uploadDate.
For some youtube videos the upload date is not retrieved properly. As a result, the content of uploadDate uses the empty fallback, which Google complains about.
Please find an example video; a quick fix could be to use Date.now() as a default for the itemprop uploadDate if somehow the Google API does not return adequate values.
<div class="lyte hidef lP" id="WYL_1dA7O_Ga94c" itemprop="video" itemscope="" itemtype="https://schema.org/VideoObject"> <meta itemprop="embedURL" content="https://www.youtube.com/embed/1dA7O_Ga94c"> <meta itemprop="uploadDate" content=""> </div>
Thanks in advance,
Matthieu
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘itemprop uploadDate not set consistently’ is closed to new replies.