/**
* 構造化データ (Schema.org) ビルダーヘルパー
*
* 動画データから VideoObject の連想配列を組み立てる共通処理。
* チャンネルトップ (channel-popular-list / channel-latest-list) と
* 一覧ページ (channel-popular-videos / channel-videos) の両方で同一仕様を使う。
*/
if ( ! function_exists( 'build_schema_video_object' ) ) {
/**
* 動画データ配列から Schema.org VideoObject 形式の連想配列を生成する。
*
* @param array $video get_video_data() / get_channel_cache_data() で取得した動画データ
* @param string $channel_id 親チャンネル ID (URL 組み立て用)
*
* @return array|null video_id が空なら null
*/
function build_schema_video_object( $video, $channel_id ) {
if ( empty( $video['video_id'] ) ) {
return null;
}
$desc_parts = array();
$desc_parts[] = '再生回数' . number_format( $video['video_view'] ) . '回';
$desc_parts[] = 'いいね' . number_format( $video['video_like'] ) . '件';
$desc_parts[] = 'コメント' . number_format( $video['video_comment'] ) . '件';
if ( ! empty( $video['video_published_at'] ) ) {
$desc_parts[] = '投稿日' . date( 'Y/m/d', $video['video_published_at'] );
}
// Duration: 6-digit HHMMSS → ISO 8601
$iso_duration = '';
if ( ! empty( $video['video_duration'] ) ) {
$dur = sprintf( '%06d', $video['video_duration'] );
$h = (int) substr( $dur, 0, 2 );
$m = (int) substr( $dur, 2, 2 );
$s = (int) substr( $dur, 4, 2 );
$iso_duration = 'PT';
if ( $h > 0 ) {
$iso_duration .= $h . 'H';
}
if ( $m > 0 ) {
$iso_duration .= $m . 'M';
}
$iso_duration .= $s . 'S';
}
$item_data = array(
'@type' => 'VideoObject',
'name' => $video['video_title'],
'url' => 'https://digitalcreators.jp/channel/' . $channel_id . '/videos/' . $video['video_id'] . '/',
'thumbnailUrl' => 'https://img.youtube.com/vi/' . $video['video_id'] . '/maxresdefault.jpg',
'embedUrl' => 'https://www.youtube.com/embed/' . $video['video_id'],
'description' => implode( '、', $desc_parts ),
'interactionStatistic' => array(
array(
'@type' => 'InteractionCounter',
'interactionType' => array( '@type' => 'WatchAction' ),
'userInteractionCount' => (int) $video['video_view'],
),
array(
'@type' => 'InteractionCounter',
'interactionType' => array( '@type' => 'LikeAction' ),
'userInteractionCount' => (int) $video['video_like'],
),
array(
'@type' => 'InteractionCounter',
'interactionType' => array( '@type' => 'CommentAction' ),
'userInteractionCount' => (int) $video['video_comment'],
),
),
);
if ( ! empty( $iso_duration ) ) {
$item_data['duration'] = $iso_duration;
}
if ( ! empty( $video['video_published_at'] ) ) {
$item_data['uploadDate'] = date( "Y-m-d\TH:i:s+09:00", (int) $video['video_published_at'] );
}
return $item_data;
}
}
if ( ! function_exists( 'build_channel_additional_properties' ) ) {
/**
* チャンネルの統計値を Schema.org additionalProperty (PropertyValue の配列) として生成する。
* チャンネルランキング(カルーセルの各ListItem)とチャンネルページ(ProfilePage の mainEntity)で共用。
*
* @param array $c チャンネルデータ連想配列。channel_ranking.JP の行 / get_channel_data() の結果。
* 必要列: channel_difference_user, channel_difference_view, channel_video_view,
* channel_user, channel_newest_avg_view_count, channel_newest_avg_good,
* channel_newest_avg_comment, channel_newest_per_engagement。
*
* @return array PropertyValue 連想配列のリスト(該当データが無い項目はスキップ)。
*/
function build_channel_additional_properties( $c ) {
// label => array( 列名, 値の型 )。値は表示中の項目に対応。
$map = array(
'30-Day Subscriber Growth' => array( 'channel_difference_user', 'int' ),
'30-Day View Count Growth' => array( 'channel_difference_view', 'int' ),
'Lifetime Channel Views' => array( 'channel_video_view', 'int' ),
'Total Channel Subscribers' => array( 'channel_user', 'int' ),
'Average Views Per Video' => array( 'channel_newest_avg_view_count', 'round' ),
'Average Likes Per Video' => array( 'channel_newest_avg_good', 'round' ),
'Average Comments Per Video' => array( 'channel_newest_avg_comment', 'round' ),
'Channel Engagement Rate' => array( 'channel_newest_per_engagement', 'rate' ),
);
$props = array();
foreach ( $map as $label => $def ) {
list( $col, $type ) = $def;
if ( ! isset( $c[ $col ] ) || $c[ $col ] === '' || $c[ $col ] === null ) {
continue;
}
$raw = $c[ $col ];
if ( $type === 'rate' ) {
// engagement率: 保存値は比率(0.0615)なので %(6.15) に変換し unitText を付与。
$props[] = array(
'@type' => 'PropertyValue',
'name' => $label,
'value' => round( (float) $raw * 100, 2 ),
'unitText' => 'PERCENT',
);
continue;
}
$value = ( $type === 'round' ) ? (int) round( (float) $raw ) : (int) $raw;
$props[] = array(
'@type' => 'PropertyValue',
'name' => $label,
'value' => $value,
);
}
return $props;
}
}
キヨ、Poppy Playtime新シリーズの実況動画が1位!現役女子大生が店長の町中華を紹介した動画が人気!【月間ジャンル特化ランキング】 | YouTuberトレンド分析メディア:デジタルクリエイターズキヨ、Poppy Playtime新シリーズの実況動画が1位!現役女子大生が店長の町中華を紹介した動画が人気!【月間ジャンル特化ランキング】
By KA / 2024/03/05

1位にランクインしたのはゲーム実況者の『キヨ。』(404万再生)。今話題のホラーゲーム「Poppy Playtime Chapter 3」のゲーム実況動画が人気。
2位は『稲荷(いなり)』(350万再生)。ミニタオルのみを使い、下着を上下まで脱ぐ生着替えに挑戦する、大胆な動画が大きな話題に。
3位は『Wonderful Japanese Chefs』(346万再生)。現役女子大生が店長を務める町中華に密着した動画がランクインした。
キヨ。(1位)
1位にランクインしたのは、ゲーム実況者のキヨが、今話題のホラーゲーム「Poppy Playtime Chapter 3」に挑戦する実況動画。
今世界中で話題の「Poppy Playtime Chapter 3」というホラーゲーム。キヨは過去に同タイトルのChapter1 とChapter2もプレイし実況動画を投稿しており、これはその続編のプレイ動画となっている。
クオリティの高いカートゥーンと導入映像で始まるゲームだが、世界中で人気を博したからか、なんと日本語吹き替え音声と翻訳字幕が用意されている。廃墟となったおもちゃの廃墟を、一人称視点で探索していくゲームで、不気味なキャラクターとのチェイスや練られたストーリーが魅力である。
稲荷(いなり)(2位)
2位にランクインしたのは、『稲荷(いなり)。ミニタオルを使って生着替えに挑戦している。
ミニタオルを使用し、生着替えに挑戦してくと言う稲荷。ミニタオルを使って身体を上手く隠しながら、上も下も下着まで脱ぎ、生着替えを成功させている。次はもう少し小さいタオルでも挑戦してみたいそうだ、
Wonderful Japanese Chefs(3位)
3位にランクインしたのは、日本にある飲食店の調理風景を映像にして発信している『Wonderful Japanese Chefs』。町中華に密着した動画を投稿し、話題となった。
今回Wonderful Japanese Chefsが密着したのは、千葉県松戸市にある「中華料理 東東」という町中華。創業43年の老舗店で、現役女子大生が店長をしていることで話題に。
熱々の中華料理が提供されていく映像は見ているだけで美味しそうで食欲が刺激される動画となっている。
ホモサピ(4位)
難聴うさぎ(5位)
プロセスX(6位)
キヨ。(7位)
カーパーティ(8位)
キヨ。(9位)
YASUHIRO TV(10位)