Chúng tôi đang cập nhật Data API để phù hợp với cách YouTube tính số lượt xem video ngắn.
Tìm hiểu thêm
Cách tìm trạng thái của video MadeForKids
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Khi tương tác với nội dung trên YouTube dành riêng cho trẻ em, nhãn YouTube chỉ có nhãn "Dành cho trẻ em" hoặc "MFK" thì bạn cần đặc biệt chú ý.
Ví dụ: Nếu nhúng một video trên YouTube được chỉ định là MadeForKids trên trang web hoặc ứng dụng của mình, bạn bắt buộc phải tuân thủ Mục III.E.4.j trong Chính sách dành cho nhà phát triển để tắt tính năng theo dõi và đảm bảo rằng mọi hoạt động thu thập dữ liệu liên quan đến người chơi đó đều tuân thủ luật hiện hành, bao gồm cả Đạo luật bảo vệ quyền riêng tư của trẻ em trên mạng (COPPA).
Nếu không chắc liệu một video có được chỉ định là MadeForKids hay không, bạn có thể kiểm tra trạng thái của video tại một thời điểm bất kỳ thông qua Dịch vụ API Dữ liệu YouTube bằng cách làm theo hướng dẫn sau:
- Tạo hoặc truy cập vào Tài khoản nhà phát triển của Google qua https://console.cloud.google.com/.
- Thêm API YouTube vào Dự án API đã chọn (nếu bạn chưa thêm). Xin lưu ý rằng
hạn mức mặc định của Dịch vụ API YouTube là 10.000 điểm hạn mức hằng ngày. Tốc độ này đủ để kiểm tra
trạng thái video MadeForKids của tối đa 5000 video.
- Sử dụng Dịch vụ API Dữ liệu YouTube để gọi điểm cuối
videos.list
.
- Bao gồm(các) mã video có liên quan trong các thông số yêu cầu.
- Bao gồm tối thiểu các phần
id
và status
trong tham số part
của yêu cầu.
- Kiểm tra tài nguyên
video
được trả về cho trạng thái MFK. Trạng thái này được trả về trong thuộc tính status.madeForKids
của tài nguyên.
Bạn có thể tìm hiểu thêm về các nguyên tắc MadeForKids trong Trung tâm trợ giúp YouTube.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2023-02-23 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2023-02-23 UTC."],[[["\u003cp\u003eContent designated as "MadeForKids" (MFK) on YouTube requires special handling due to specific legal requirements.\u003c/p\u003e\n"],["\u003cp\u003eEmbedding MFK YouTube videos mandates disabling tracking and ensuring data collection complies with laws like COPPA.\u003c/p\u003e\n"],["\u003cp\u003eThe YouTube Data API Service can be used to determine if a video is designated as MFK by calling the \u003ccode\u003evideos.list\u003c/code\u003e endpoint.\u003c/p\u003e\n"],["\u003cp\u003eYou must use a Google developer account and add the YouTube API to a project to use the YouTube Data API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estatus.madeForKids\u003c/code\u003e property within the \u003ccode\u003evideos\u003c/code\u003e resource will define if the video is an MFK video or not, when using the \u003ccode\u003evideos.list\u003c/code\u003e endpoint.\u003c/p\u003e\n"]]],["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"],null,["# Finding the MadeForKids status of a video\n\nInteractions with YouTube content that is specifically directed towards children, which\nYouTube labels \"MadeForKids\" or \"MFK\", require special care and attention.\n\nAs an example, if you embed a YouTube video that is designated MadeForKids on your site or\napp, you are required by [Section III.E.4.j of the\nDeveloper Policies](/youtube/terms/developer-policies#III-E-4-j) to turn off tracking and make sure that all data collection, with\nrespect to that player, is compliant with applicable laws, including U.S. Children's Online\nPrivacy Protection Act (COPPA).\n\nIf you are not sure whether a video is designated MadeForKids, you can check the status of a\nvideo at any given time via the YouTube Data API Service following the instructions outlined\nbelow:\n\n1. Create or access your Google developer account via \u003chttps://console.cloud.google.com/\u003e.\n2. Add the YouTube API to your selected API Project (if you haven't already). Note that the default YouTube API Services quota is 10,000 daily quota points; this is sufficient to check the MadeForKids video status of up to 5000 videos.\n3. Using the YouTube Data API Service, call the [videos.list](/youtube/v3/docs/videos/list) endpoint.\n 1. Include the relevant Video ID(s) in the request parameters.\n 2. Include, at minimum, the `id` and `status` parts in the request's [part](/youtube/v3/docs/videos/list#part) parameter.\n4. Check the [video](/youtube/v3/docs/videos#resource) resource returned for the MFK status, which is returned in the resource's [status.madeForKids](/youtube/v3/docs/videos#status.madeForKids) property.\n\nYou can learn more about MadeForKids guidelines in the\n[YouTube Help Center](https://support.google.com/youtube/answer/9528076)."]]