Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Les flux d'actions multimédias vous permettent de décrire vos contenus multimédias à Google. Cela permet aux utilisateurs de découvrir vos contenus dans la recherche Google et l'Assistant Google, et de lancer la lecture directement dans votre application ou votre plate-forme.
Figure 1. Actions multimédias dans l'Assistant Google
Les actions multimédias sont basées sur un flux, qui contient les détails de votre catalogue multimédia. Un flux est un objet JSON qui contient une collection d'entités. Une entité est un objet schema.org qui représente un élément de votre catalogue: un épisode de série TV, une série TV, un film, une chanson, un album, etc.
Pour que Google puisse obtenir votre flux, vous devez le stocker dans un fichier et héberger ce fichier à un emplacement où Google peut y accéder. Pour s'assurer que votre contenu est à jour, Google récupère régulièrement le fichier de flux auprès de votre hôte.
Figure 2. Flux des actions multimédias.
Pour intégrer votre service aux actions multimédias, procédez comme suit:
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
[null,null,[],[[["\u003cp\u003eMedia Actions enable users to discover your media content on Google Search and the Google Assistant and initiate playback directly on your platform.\u003c/p\u003e\n"],["\u003cp\u003eMedia Actions are powered by a feed, a JSON object containing details of your media catalog, hosted where Google can access it for regular updates.\u003c/p\u003e\n"],["\u003cp\u003eIntegrating 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.\u003c/p\u003e\n"],["\u003cp\u003eGoogle is currently working with a limited number of providers to integrate this feature, but you're encouraged to review the documentation in the meantime.\u003c/p\u003e\n"]]],["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"],null,["# Media Actions\n\n| Google is working with a limited number of providers at a time to integrate each provider into the feature. You're welcome to read the documentation until we can open it up to more providers.\n\nMedia Actions feeds let you describe your media content to Google. This enables\nusers to discover your content on Google Search and the Google Assistant and\ninitiate playback of the content directly on your app or platform.\n\n**Figure 1.** Media Actions on the Google Assistant.\n\nMedia Actions are powered by a [feed](./how-to/create-a-feed), which contains\nthe details of your media catalog. A feed is a JSON object that contains a\ncollection of entities. An entity is a [schema.org](https://schema.org/) object that represents an item in your\ncatalog: a TV episode, a TV series, a movie, a song, an album, and more.\n\nFor Google to obtain your feed, you need to store the feed in a file and [host\nthe file](./how-to/submit-the-feed) in a location where Google can access it. To\nensure your content is up-to-date, Google regularly fetches the feed file from\nyour host.\n\n**Figure 2.** The flow of Media Actions.\n\nTo integrate your service with Media Actions, follow these steps:\n\n1. [Understand the requirements and collect information about your media content.](/actions/media/collect-information)\n2. [Understand the feed structure.](/actions/media/reference)\n3. [Create a sample feed and populate the feed using your media\n catalog.](/actions/media/how-to/create-a-feed)\n4. [Host the feed file using cloud storage service or a public/private hosting system.](/actions/media/how-to/host-the-feed)\n5. [Complete the quality checklist and contact Google to submit your feed.](/actions/media/how-to/submit-the-feed)\n6. [Create an Actions on Google project to monitor the status of the feed.](/actions/media/how-to/monitor-the-feed)"]]