動画の構造化データ
サイトに MP4 コンテナの動画を埋め込むと、Google Search Console がキレる💢😡😱😅
ページ上で視認性の高い動画は検出されませんでした🤔 これらのページに埋め込まれている動画は、インデックスに 登録されることも、Google の動画検索結果に表示されることも ありません
DokuWiki の Semantic Plugin で JSON-LD を出力する🤤
Semantic Plugin - DokuWiki をインストールすると、デフォルトで useJSONLD: 1
(JSON-LD を追加する) であるため、動画の構造化データ(ビデオなし)を生成してくれるようになる🥰
DokuWiki のサイト設定で Semantic Plugin の設定項目を確認しておく🤔
JSON-LD の出力例🤤
実際に出力される JSON-LD の例は以下の内容です🤔
<script type="application/ld+json">/*<![CDATA[*/[
{
"@context": "http:\/\/schema.org\/",
"@type": "Article",
"headline": "HandBrake (Linux) - \u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d3\u30c7\u30aa\u30c8\u30e9\u30f3\u30b9\u30b3\u30fc\u30c0\u30fc",
"name": "HandBrake (Linux) - \u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d3\u30c7\u30aa\u30c8\u30e9\u30f3\u30b9\u30b3\u30fc\u30c0\u30fc",
"datePublished": "2023-03-05T17:29:34+09:00",
"dateCreated": "2023-03-05T17:29:34+09:00",
"dateModified": "2023-03-09T15:39:19+09:00",
"description": "HandBrake (Linux) - \u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d3\u30c7\u30aa\u30c8\u30e9\u30f3\u30b9\u30b3\u30fc\u30c0\u30fc [HandBrake Logo] The open source video transcoder \u672c\u5bb6: HandBrake: Open Source Video Transcoder \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9: <https:\/\/github.com\/HandBrake\/HandBrake> [HandBrake (Linux) 001] HandBrake (Windows) - \u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d3\u30c7\u30aa\u30c8\u30e9\u30f3\u30b9\u30b3\u30fc\u30c0\u30fc \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb RPM Fusion \u3092\u5229\u7528\u3059\u308b\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u8a2d\u5b9a\u3092\u4e88\u3081\u884c\u3046\u5fc5\u8981\u304c\u3042\u308b\ud83e\udd14",
"license": "https:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/deed.ja",
"url": "https:\/\/www.tomoyan.net\/linux\/handbrake",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https:\/\/www.tomoyan.net\/linux\/handbrake"
},
"publisher": {
"@type": "Organization",
"name": "\u3068\u3082\u3084\u3093\u30fb\u3069\u3063\u3068\u30fb\u306d\u3063\u3068",
"logo": {
"@type": "ImageObject",
"url": "https:\/\/www.tomoyan.net\/lib\/tpl\/bs3tomoyannet\/images\/logo.png"
}
},
"image": {
"@type": "ImageObject",
"url": "https:\/\/www.tomoyan.net\/_media\/windows\/handbrake_logo.png",
"width": 250,
"height": 250
},
"author": {
"@context": "http:\/\/schema.org\/",
"@type": "Person",
"name": "\u3068\u3082\u3084\u3093",
"email": "sample@tomoyan.net"
},
"contributor": [
{
"@context": "http:\/\/schema.org\/",
"@type": "Person",
"name": "\u3068\u3082\u3084\u3093",
"email": "sample@tomoyan.net"
}
]
},
{
"@context": "http:\/\/schema.org\/",
"@type": "WebPage",
"relatedLink": [
"https:\/\/www.tomoyan.net\/linux",
"https:\/\/www.tomoyan.net\/windows\/handbrake"
]
}
]
/*!]]>*/</script>