IFMkey Posted October 22, 2022 Share Posted October 22, 2022 https://search.google.com/test/rich-results https://www.youtube.com/watch?v=QHfk5BDgJE8 google know this is a video page https://www.kvs-demo.com/videos/1029/nicky-romero-premieres-linkin-park-remix-at-ultra-miami/ check nothing!!! what i mean, now google index video very slowly, maybe this is one reason Quote Link to comment Share on other sites More sharing options...
IFMkey Posted October 22, 2022 Author Share Posted October 22, 2022 https://developers.google.com/search/docs/appearance/video?authuser=0 Include your video in an appropriate HTML tag. Google can more easily identify a video on your page when there's an HTML tag around it, for example: <video>, <embed>, <iframe>, or <object>. may i add these html tag in my KVS theme? thanks Quote Link to comment Share on other sites More sharing options...
Tech Support Posted October 22, 2022 Share Posted October 22, 2022 This is because we didn't update theme on our demo site for a long time. Now we fixed it, you can check it now: All new theme version already have this. If you don't have it on your project, you need to add the following code into Website UI -> Page components -> include_header_general.tpl anywhere under <head> section: {{if $storage.video_view_video_view.video_id>0}} {{assign var="duration_hours" value=$storage.video_view_video_view.duration_minutes/60|intval}} {{assign var="duration_minutes" value=$storage.video_view_video_view.duration_minutes-$duration_hours*60}} {{assign var="duration_seconds" value=$storage.video_view_video_view.duration_seconds}} <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "VideoObject", "name": "{{$storage.video_view_video_view.title|json_encode|trim:'"'}}", "description": "{{$storage.video_view_video_view.description|default:$storage.video_view_video_view.title|json_encode|trim:'"'}}", "thumbnailUrl": "{{$storage.video_view_video_view.preview_url}}", "uploadDate": "{{$storage.video_view_video_view.post_date|date_format:"%Y-%m-%d"}}", "duration": "PT{{$duration_hours}}H{{$duration_minutes}}M{{$duration_seconds}}S", {{assign var="postfix" value=$lang.videos.sitemap_format_standard}} {{if $storage.video_view_video_view.is_private==2}} {{assign var="postfix" value=$lang.videos.sitemap_format_premium}} {{/if}} {{if $storage.video_view_video_view.formats[$postfix].file_url!=''}} "contentUrl": "{{$storage.video_view_video_view.formats[$postfix].file_url}}", {{else}} "embedUrl": "{{$config.project_url}}/embed/{{$storage.video_view_video_view.video_id}}", {{/if}} "interactionStatistic": [ { "@type": "InteractionCounter", "interactionType": "http://schema.org/WatchAction", "userInteractionCount": "{{$storage.video_view_video_view.video_viewed}}" }, { "@type": "InteractionCounter", "interactionType": "http://schema.org/LikeAction", "userInteractionCount": "{{$storage.video_view_video_view.rating_amount}}" } ] } </script> {{/if}} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.