Фиды Media Actions позволяют описывать ваш медиаконтент Google. Это позволяет пользователям находить ваш контент в Google Поиске и Google Assistant и инициировать воспроизведение контента непосредственно в вашем приложении или на платформе.
Рисунок 1. Действия с мультимедиа в Google Assistant.
Действия с мультимедиа основаны на фиде , который содержит сведения о вашем каталоге мультимедиа. Фид – это объект JSON, содержащий коллекцию сущностей. Сущность — это объект Schema.org , который представляет элемент в вашем каталоге: эпизод сериала, сериал, фильм, песню, альбом и т. д.
Чтобы Google мог получить ваш канал, вам необходимо сохранить его в файле и разместить файл в месте, где Google сможет получить к нему доступ. Чтобы обеспечить актуальность вашего контента, Google регулярно получает файл фида с вашего хоста.
Рисунок 2. Последовательность действий мультимедиа.
Чтобы интегрировать свой сервис с Media Actions, выполните следующие действия:
[null,null,[],[[["Media Actions enable users to discover your media content on Google Search and the Google Assistant and initiate playback directly on your platform."],["Media Actions are powered by a feed, a JSON object containing details of your media catalog, hosted where Google can access it for regular updates."],["Integrating your service with Media Actions involves understanding requirements, creating and hosting a feed, submitting it to Google, and monitoring its status through an Actions on Google project."],["Google is currently working with a limited number of providers to integrate this feature, but you're encouraged to review the documentation in the meantime."]]],["Media Actions utilize feeds to describe media content, enabling users to find and play it via Google Search and Assistant. A JSON feed, containing schema.org entities representing media catalog items, needs to be created and hosted. Google fetches the feed regularly to keep content updated. Integration involves understanding requirements, creating and hosting the feed, completing a quality checklist, and contacting Google for submission. An Actions on Google project monitors feed status. Google currently works with a limited number of providers.\n"]]