Nguồn cấp dữ liệu Hành động đa phương tiện cho phép bạn mô tả nội dung đa phương tiện cho Google. Điều này cho phép người dùng khám phá nội dung của bạn trên Google Tìm kiếm và Trợ lý Google, đồng thời bắt đầu phát nội dung ngay trên ứng dụng hoặc nền tảng của bạn.
Hình 1. Hành động đa phương tiện trên Trợ lý Google.
Hành động trong nội dung nghe nhìn được cung cấp bởi một nguồn cấp dữ liệu, trong đó chứa thông tin chi tiết về danh mục nội dung nghe nhìn của bạn. Nguồn cấp dữ liệu là một đối tượng JSON chứa một tập hợp các thực thể. Thực thể là một đối tượng schema.org đại diện cho một mục trong danh mục của bạn: một tập chương trình truyền hình, một chương trình truyền hình dài tập, một bộ phim, một bài hát, một đĩa nhạc, v.v.
Để Google lấy nguồn cấp dữ liệu của bạn, bạn cần lưu trữ nguồn cấp dữ liệu đó trong một tệp và lưu trữ tệp ở một vị trí mà Google có thể truy cập. Để đảm bảo nội dung của bạn được cập nhật, Google thường xuyên tìm nạp tệp nguồn cấp dữ liệu từ máy chủ lưu trữ của bạn.
Hình 2. Luồng của Hành động đa phương tiện.
Để tích hợp dịch vụ của bạn với Hành động đa phương tiện, hãy làm theo các bước sau:
[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"]]