{"id":13744,"date":"2023-08-01T05:44:55","date_gmt":"2023-08-01T05:44:55","guid":{"rendered":"https:\/\/www.bay20.com\/?p=13744"},"modified":"2025-05-14T15:50:28","modified_gmt":"2025-05-14T10:05:28","slug":"add-youtube-video-auf-der-produkt-seite-in-magento-2","status":"publish","type":"post","link":"https:\/\/www.bay20.com\/de\/add-youtube-video-auf-der-produkt-seite-in-magento-2\/","title":{"rendered":"YouTube-Video auf der Produktseite in Magento 2 hinzuf\u00fcgen"},"content":{"rendered":"\n<p>Wenn Sie ein Produkt in Magento 2 erstellen oder bearbeiten, f\u00fcgen wir Bilder f\u00fcr das Produkt auf der Produktseite hinzu. Sie k\u00f6nnen bei der Bearbeitung oder Erstellung eines Produkts auch Videos aus externen Ressourcen (<strong><a href=\"https:\/\/vimeo.com\/\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"Vimeo\">Vimeo<\/a><\/strong> und <strong><a href=\"https:\/\/www.youtube.com\/\" title=\"YouTube\">YouTube<\/a><\/strong>) hinzuf\u00fcgen. In diesem Artikel erfahren Sie, wie Sie ein YouTube-Video zur Produktseite hinzuf\u00fcgen k\u00f6nnen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Gehen Sie folgenderma\u00dfen vor, um ein YouTube-Video auf der Produktseite hinzuzuf\u00fcgen:<\/h2>\n\n\n\n<p>Um ein Video von YouTube auf der Produktseite hinzuzuf\u00fcgen, m\u00fcssen Sie zun\u00e4chst einen <strong>YouTube-API-Schl\u00fcssel<\/strong> in der Konfiguration hinzuf\u00fcgen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Schritt 1: Besorge dir deinen YouTube-API-Schl\u00fcssel<\/h3>\n\n\n\n<p><strong>1.<\/strong> \u00d6ffnen Sie zun\u00e4chst die <a href=\"https:\/\/console.developers.google.com\/\"><strong>Google Developers Console<\/strong><\/a>. Wenn Sie sie zum ersten Mal \u00f6ffnen, m\u00fcssen Sie die <strong>Nutzungsbedingungen<\/strong> akzeptieren und fortfahren.<\/p>\n\n\n\n<p><strong>2.<\/strong> Klicken Sie auf der Seite Canvas auf die Schaltfl\u00e4che <strong>Neues Projekt<\/strong>, f\u00fcllen Sie die erforderlichen Felder mit den richtigen Daten aus und klicken Sie dann auf <strong>Erstellen.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"456\" src=\"https:\/\/www.bay20.com\/wp-content\/uploads\/2023\/07\/project-detail-980x456.png\" alt=\"YouTube Video on the Product Page\" class=\"wp-image-13769\" srcset=\"https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/project-detail-980x456.png 980w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/project-detail-300x140.png 300w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/project-detail-800x372.png 800w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/project-detail-768x357.png 768w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/project-detail-1000x465.png 1000w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/project-detail.png 1042w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/figure>\n\n\n\n<p><strong>3.<\/strong> W\u00e4hlen Sie auf der linken Seite &#8222;Credentials&#8220; und klicken Sie dann auf die Schaltfl\u00e4che <strong>&#8222;+CREATE CREDENTIALS&#8220;<\/strong> direkt unter der Suchleiste und w\u00e4hlen Sie <em>&#8222;API key&#8220;<\/em>.<\/p>\n\n\n\n<p><strong>4. <\/strong>Kopieren Sie nun den API-Schl\u00fcssel und schlie\u00dfen Sie das Dialogfeld.<\/p>\n\n\n\n<p><strong>5. <\/strong>Klicken Sie dann unter &#8222;Aktivierte APIs und Dienste&#8220; auf die Schaltfl\u00e4che<strong> &#8222;+ENABLE APIS AND SERVICES&#8220; <\/strong>und suchen Sie im Suchfeld nach<strong> &#8222;<\/strong><em>Youtube<\/em><strong>&#8222;.<\/strong><\/p>\n\n\n\n<p><strong>6. <\/strong>W\u00e4hlen Sie schlie\u00dflich <strong>YouTube Data API v3<\/strong> und aktivieren Sie es.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"470\" src=\"https:\/\/www.bay20.com\/wp-content\/uploads\/2023\/07\/youtube-data-api-v3-980x470.png\" alt=\"YouTube Video on the Product Page\" class=\"wp-image-13766\" srcset=\"https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-data-api-v3-980x470.png 980w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-data-api-v3-300x144.png 300w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-data-api-v3-800x384.png 800w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-data-api-v3-768x369.png 768w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-data-api-v3-1000x480.png 1000w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-data-api-v3.png 1069w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Schritt 2: F\u00fcgen Sie den YouTube-API-Schl\u00fcssel in der Shop-Konfiguration hinzu<\/h3>\n\n\n\n<p><strong>1. <\/strong>Navigieren Sie in der Admin-Seitenleiste Ihres Stores zu <strong>Stores &gt; Einstellungen &gt; Konfiguration.<\/strong><\/p>\n\n\n\n<p><strong>2. <\/strong>Erweitern Sie dann Katalog und w\u00e4hlen Sie darunter Katalog.<\/p>\n\n\n\n<p><strong>3. <\/strong>Erweitern Sie anschlie\u00dfend den Abschnitt <em>Produktvideo<\/em> und f\u00fcgen Sie Ihren API-Schl\u00fcssel in das Feld <strong>YouTube-API-Schl\u00fcssel <\/strong>ein.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"927\" height=\"316\" data-id=\"13771\" src=\"https:\/\/www.bay20.com\/wp-content\/uploads\/2023\/07\/product-video.png\" alt=\"YouTube Video on the Product Page\" class=\"wp-image-13771\" srcset=\"https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/product-video.png 927w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/product-video-300x102.png 300w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/product-video-800x273.png 800w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/product-video-768x262.png 768w\" sizes=\"auto, (max-width: 927px) 100vw, 927px\" \/><\/figure>\n<\/figure>\n\n\n\n<p><strong>4. <\/strong>Wenn Sie fertig sind, klicken Sie auf<strong> Save Config.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Schritt 3: Video zum Produkt hinzuf\u00fcgen<\/h3>\n\n\n\n<p><strong>1. <\/strong>Navigieren Sie zu <strong>Katalog &gt; Produkte<\/strong> und w\u00e4hlen Sie ein Produkt aus, um es im Bearbeitungsmodus zu \u00f6ffnen.<\/p>\n\n\n\n<p><strong>2. <\/strong>Scrollen Sie nun zum Abschnitt <strong>Bilder und Videos<\/strong> und erweitern Sie ihn.<\/p>\n\n\n\n<p><strong>3. <\/strong>Klicken Sie anschlie\u00dfend auf die Schaltfl\u00e4che <strong>Video hinzuf\u00fcgen<\/strong>.<\/p>\n\n\n\n<p><strong>4. <\/strong>Geben Sie dann die URL des YouTube- oder Vimeo-Videos in das<strong> URL<\/strong>-Feld ein und klicken Sie au\u00dferhalb des Feldes.<\/p>\n\n\n\n<p><strong>5. <\/strong>Wenn Sie au\u00dferhalb des Feldes klicken, werden der Titel, die Beschreibung und das Vorschaubild automatisch entsprechend den Videoinformationen ausgef\u00fcllt. Wenn das Feld nicht ausgef\u00fcllt wird, geben Sie die Details der Felder manuell ein.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.youtube.com\/@Bay20SoftwareServicesn\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"498\" src=\"https:\/\/www.bay20.com\/wp-content\/uploads\/2023\/07\/youtube-video-980x498.png\" alt=\"YouTube Video on the Product Page\" class=\"wp-image-13772\" srcset=\"https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-video-980x498.png 980w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-video-300x152.png 300w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-video-800x407.png 800w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-video-768x390.png 768w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-video-1000x508.png 1000w, https:\/\/www.bay20.com\/de\/wp-content\/uploads\/2023\/07\/youtube-video.png 1141w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/a><\/figure>\n\n\n\n<p><strong>6. <\/strong>Aktivieren Sie dann die Kontrollk\u00e4stchen, die Sie f\u00fcr das Video anwenden m\u00f6chten, und speichern Sie das Video.<\/p>\n\n\n\n<p><strong>7. <\/strong>Klicken Sie abschlie\u00dfend auf die Schaltfl\u00e4che Speichern, um das Produkt zu <strong>speichern.<\/strong><\/p>\n\n\n\n<p>Jetzt erscheint das Video auf der Produktseite Ihres Schaufensters in verschiedenen Rollen, die Sie beim Hinzuf\u00fcgen des Videos zum Produkt ausgew\u00e4hlt haben. Sie k\u00f6nnen das Video von Vimeo hinzuf\u00fcgen, indem Sie einfach den Videolink in das URL-Feld eingeben. Sie m\u00fcssen keine API f\u00fcr die Verwendung von Vimeo-Videos konfigurieren.<\/p>\n\n\n\n<p><strong>Bitte kontaktieren Sie uns unter <strong><a href=\"mailto:manish@bay20.com\">manish@bay20.com<\/a><\/strong> oder rufen Sie uns unter <strong><a href=\"https:\/\/api.whatsapp.com\/send?phone=+918800519180&amp;text=Hi, I contacted you through your website.\" title=\"+91-8800519180\">+91-8800519180<\/a><\/strong> an, wenn Sie Unterst\u00fctzung f\u00fcr Magento 2 ben\u00f6tigen. Sie k\u00f6nnen auch die <strong><a href=\"https:\/\/www.bay20.com\/de\/magento2-entwicklungsunternehmen\/\">Magento2 <strong>Entwicklungsseit<\/strong><\/a><\/strong> besuchen, um die von uns angebotenen Dienstleistungen zu \u00fcberpr\u00fcfen.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While creating or editing a product in Magento 2, we add images for the product on the Product page. You can also add videos while editing or creating a product from external resources (Vimeo and YouTube). In this article, you will learn how to add YouTube video on the Product page.<\/p>\n","protected":false},"author":89,"featured_media":13781,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81,40,77,79],"tags":[],"class_list":["post-13744","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-katalog-management","category-magento","category-magento2","category-magento-anleitung"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/posts\/13744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/users\/89"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/comments?post=13744"}],"version-history":[{"count":15,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/posts\/13744\/revisions"}],"predecessor-version":[{"id":17037,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/posts\/13744\/revisions\/17037"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/media\/13781"}],"wp:attachment":[{"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/media?parent=13744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/categories?post=13744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bay20.com\/de\/wp-json\/wp\/v2\/tags?post=13744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}