import React from 'react'; import type { Metadata } from 'next'; import YoutubeGenerator from './YouTubeGenerator'; import { Youtube, Shield, Zap, Smartphone, Play, Radio, Download, Share2 } from 'lucide-react'; import { QRCodeSVG } from 'qrcode.react'; import { ToolBreadcrumb } from '@/components/seo/BreadcrumbSchema'; import { RelatedTools } from '@/components/marketing/RelatedTools'; import { generateSoftwareAppSchema, generateFaqSchema } from '@/lib/schema-utils'; // SEO Optimized Metadata export const metadata: Metadata = { title: { absolute: 'Free YouTube QR Code Generator | Get Views & Subscribers | QR Master', }, description: 'Create a QR code for your YouTube video or channel. YouTube QR Code erstellen. Scanners watch instantly. Free & Fast.', keywords: ['youtube qr code', 'video qr code', 'youtube channel qr', 'youtube subscribe qr', 'social media qr code', 'youtube qr code erstellen', 'video qr code erstellen', 'kanal qr code', 'youtube abonnenten qr code', 'youtube video teilen qr'], alternates: { canonical: 'https://www.qrmaster.net/tools/youtube-qr-code', }, openGraph: { title: 'Free YouTube QR Code Generator | QR Master', description: 'Generate QR codes to grow your YouTube channel. Instant video play.', type: 'website', url: 'https://www.qrmaster.net/tools/youtube-qr-code', images: [{ url: '/og-youtube-generator.png', width: 1200, height: 630 }], }, twitter: { card: 'summary_large_image', title: 'Free YouTube QR Code Generator', description: 'Create QR codes for YouTube videos. Get more views.', }, robots: { index: true, follow: true, }, }; // JSON-LD Structured Data const jsonLd = { '@context': 'https://schema.org', '@graph': [ generateSoftwareAppSchema( 'YouTube QR Code Generator', 'Generate QR codes that direct users to a YouTube video or channel.', '/og-youtube-generator.png' ), { '@type': 'HowTo', name: 'How to Create a YouTube QR Code', description: 'Create a QR code that opens a YouTube video.', step: [ { '@type': 'HowToStep', position: 1, name: 'Copy URL', text: 'Copy the link of your YouTube video or channel.', }, { '@type': 'HowToStep', position: 2, name: 'Paste', text: 'Paste the link into the generator input.', }, { '@type': 'HowToStep', position: 3, name: 'Customize', text: 'Add a "Watch Now" frame or change the color to YouTube Red.', }, { '@type': 'HowToStep', position: 4, name: 'Download', text: 'Save your QR code image for printing.', }, { '@type': 'HowToStep', position: 5, name: 'Share', text: 'Place it on posters, merch, or video end screens.', }, ], totalTime: 'PT30S', }, generateFaqSchema({ 'Does it open the YouTube app?': { question: 'Does it open the YouTube app?', answer: 'Yes! If the user has the YouTube app installed, the QR code will automatically launch the app and play the video.', }, 'Can I link to a specific timestamp?': { question: 'Can I link to a specific timestamp?', answer: 'Yes. If you include the timestamp in your YouTube link (e.g., ?t=60s), the video will start playing from that exact moment.', }, 'Can I use this for a playlist?': { question: 'Can I use this for a playlist?', answer: 'Absolutely. Just paste the playlist URL, and users will be taken to the full list of videos.', }, 'Is it free?': { question: 'Is it free?', answer: 'Yes, this tool is 100% free forever.', }, 'Does it work for YouTube Shorts?': { question: 'Does it work for YouTube Shorts?', answer: 'Yes, just paste the "Share" link from any YouTube Short.', }, }), ], }; export default function YoutubeQRCodePage() { return ( <>