การค้นหาสถานะ MadeForKids ของวิดีโอ
การโต้ตอบกับเนื้อหา YouTube ที่มีเป้าหมายเป็นเด็กโดยเฉพาะ ซึ่ง YouTube ได้ติดป้ายกํากับ "MadeForKids" หรือ "MFK" ไว้ คุณต้องได้รับการดูแลเป็นพิเศษ
ตัวอย่างเช่น หากคุณฝังวิดีโอ YouTube ที่กําหนดไว้ใน MadeForKids ในเว็บไซต์หรือแอป คุณต้องปฏิบัติตามส่วนที่ 3.E.4.j ของนโยบายนักพัฒนาแอปเพื่อปิดการติดตาม และตรวจสอบว่าการรวบรวมข้อมูลทั้งหมดที่เกี่ยวข้องกับโปรแกรมเล่นนั้นเป็นไปตามกฎหมายที่เกี่ยวข้อง รวมถึงกฎหมายว่าด้วยความคุ้มครองข้อมูลส่วนบุคคลทางอินเทอร์เน็ตของเด็ก (Children’s Online Privacy Protection Act หรือ COPPA) ของสหรัฐอเมริกา
หากไม่แน่ใจว่าวิดีโอได้รับการกําหนด MadeForKids หรือไม่ คุณตรวจสอบสถานะของวิดีโอได้ทุกเมื่อผ่านบริการ YouTube Data API โดยทําตามวิธีการที่ระบุไว้ด้านล่าง
- สร้างหรือเข้าถึงบัญชีนักพัฒนาแอป Google ผ่าน https://console.cloud.google.com/
- เพิ่ม API ของ YouTube ในโปรเจ็กต์ API ที่เลือก (หากยังไม่ได้สร้าง) โปรดทราบว่าโควต้าบริการ YouTube API เริ่มต้นคือโควต้าโควต้ารายวัน 10,000 คะแนน ซึ่งเพียงพอต่อการตรวจสอบสถานะวิดีโอ MadeForKids สูงสุด 5,000 รายการ
- เรียกปลายทาง
videos.list
โดยใช้บริการ YouTube Data API
- ใส่รหัสวิดีโอที่เกี่ยวข้องในพารามิเตอร์คําขอ
- รวมส่วน
id
และ status
ในพารามิเตอร์ part
ของคําขอเป็นอย่างน้อย
- ตรวจสอบทรัพยากร
video
ที่แสดงผลสถานะ MFK ซึ่งแสดงผลในพร็อพเพอร์ตี้ status.madeForKids
ของทรัพยากร
ดูข้อมูลเพิ่มเติมเกี่ยวกับหลักเกณฑ์ของ MadeForKids ได้ในศูนย์ช่วยเหลือของ YouTube
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-02-23 UTC
[null,null,["อัปเดตล่าสุด 2023-02-23 UTC"],[[["Content designated as \"MadeForKids\" (MFK) on YouTube requires special handling due to specific legal requirements."],["Embedding MFK YouTube videos mandates disabling tracking and ensuring data collection complies with laws like COPPA."],["The YouTube Data API Service can be used to determine if a video is designated as MFK by calling the `videos.list` endpoint."],["You must use a Google developer account and add the YouTube API to a project to use the YouTube Data API."],["The `status.madeForKids` property within the `videos` resource will define if the video is an MFK video or not, when using the `videos.list` endpoint."]]],["YouTube content marked \"MadeForKids\" (MFK) necessitates specific handling. Embedding MFK videos requires disabling tracking and ensuring data collection complies with laws like COPPA. To verify a video's MFK status, use the YouTube Data API Service. Access your Google developer account, enable the YouTube API, and use the `videos.list` endpoint. Include video IDs and the `id` and `status` parts in the request. The `status.madeForKids` property reveals the MFK designation.\n"]]