ประสบการณ์ของผู้ใช้เกี่ยวกับแพลตฟอร์ม Google Cast
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Google Cast ช่วยให้เว็บแอป Android, iOS และ Chrome สามารถ "สตรีม" เนื้อหา เช่น วิดีโอ เสียง และการแชร์หน้าจอ (มิเรอร์) ไปยังอุปกรณ์ที่พร้อมใช้งาน Cast ได้ ดังนี้
- Google Chromecast
- ทีวีที่ใช้ได้กับ Google Cast
- ลำโพงที่ใช้ได้กับ Google Cast
- จออัจฉริยะ (จอภาพ LCD แบบหน้าจอสัมผัสแบบพกพาที่ใช้เป็น Thin Client)
- แท็บเล็ต Android
ในโมเดลการโต้ตอบของ Google Cast โทรศัพท์มือถือ แท็บเล็ต หรือแล็ปท็อปคือผู้ส่งที่ทำหน้าที่เป็นรีโมตคอนโทรลเพื่อควบคุมการเล่น และทีวี จอแสดงผล หรือแท็บเล็ตที่เชื่อมต่อกับแท่นชาร์จคือผู้รับที่รับคำสั่งจากผู้ส่งและแสดงเนื้อหาจากการเชื่อมต่ออินเทอร์เน็ตของผู้รับ การดําเนินการทั้งหมดของผู้ใช้ (การแตะและการปัด) จะเกิดขึ้นได้ทั้งในอุปกรณ์ของผู้ส่งหรือเครื่องรับเว็บ
การแคสต์อาศัยการประสานงานระหว่างหน้าจอ 2 หน้าจอขึ้นไป ซึ่งก็คือ UI ของผู้ส่งและ UI ของผู้รับ โดยทั้ง 2 ฝ่ายต้องทำงานร่วมกัน เช่น หากคุณกดปุ่มบนอุปกรณ์เคลื่อนที่เพื่อหยุดเนื้อหาชั่วคราว ทีวีควรระบุว่าเนื้อหาหยุดชั่วคราว ส่วนอุปกรณ์เคลื่อนที่ควรมีปุ่มเล่นเพื่อเล่นต่อ
ข้อควรพิจารณา
เนื่องจากข้อจำกัดด้านฮาร์ดแวร์และทรัพยากร แอปพลิเคชันที่พร้อมใช้งาน Google Cast จึงมีข้อจำกัดบางประการดังนี้
- อุปกรณ์แคสต์เป็นอุปกรณ์แบบใช้พลังงานต่ำที่มีข้อจำกัดด้านหน่วยความจำ, CPU และ GPU ดังนั้นแอปพลิเคชันตัวรับเว็บควรมีขนาดเล็กที่สุดเท่าที่จะเป็นไปได้
- สำหรับรูปแบบการโต้ตอบของ Cast และ Google Cast คุณสามารถสร้างแท็บ หน้าต่าง หรือป๊อปอัปได้ทั้งในเว็บรีซีฟเวอร์หรือแอปผู้ส่ง รวมถึงรับอินพุตของผู้ใช้โดยตรง เช่น การแตะหรือการปัด เช่น แอป Web Receiver บนแท็บเล็ตหรือจอแสดงผลที่วางอยู่บนแท่นชาร์จจะแสดงปุ่มหยุดชั่วคราวและได้รับการแตะของผู้ใช้ได้ วิธีนี้ทำให้ต้องเรียกใช้การดำเนินการทั้งหมดในแอปพลิเคชันจากเว็บรีซีฟเวอร์หรือแอปพลิเคชันผู้ส่ง
- จออัจฉริยะรองรับอินพุตของผู้ใช้ผ่านแอปผู้ส่งหรือผ่านการสัมผัสบน UI
- ตัวรับเว็บคือเบราว์เซอร์ Chrome ที่เพิ่มประสิทธิภาพสำหรับการเล่นวิดีโอ ดังนั้นปัจจุบันระบบจึงไม่รองรับ WebGL และ Chrome Native Client (NaCL) รวมถึงส่วนขยาย Chrome
- แคสต์รองรับการเล่นสตรีมสื่อหลายรายการพร้อมกันในแท็ก
<audio>
และ <video>
หรือแทร็กเสียงหลายแทร็กโดยใช้ WebAudio API สามารถใช้งานองค์ประกอบวิดีโอเพียงรายการเดียวใน DOM ได้ทุกเมื่อ
นอกจากนี้ ระบบยังไม่รองรับการคอมโพสวิดีโอ การจัดการ การเปลี่ยนรูปแบบ การบิดเบี้ยว หรือการซูม
หลักการในการออกแบบโดยรวม
โปรดคํานึงถึงสิ่งต่อไปนี้เมื่อพัฒนาอินเทอร์เฟซผู้ใช้
อินเทอร์เฟซของ Web Receiver:
- เว็บรีซีฟเวอร์อาจมีทั้งองค์ประกอบแบบอินเทอร์แอกทีฟและองค์ประกอบข้อมูลเพื่ออธิบายสถานะของแอป เช่น หยุดชั่วคราวหรือกำลังเล่น หรือข้อความแสดงข้อผิดพลาด การโต้ตอบของผู้ใช้อาจเกิดขึ้นในอุปกรณ์ส่ง Cast (โทรศัพท์ แท็บเล็ต หรือเบราว์เซอร์ Chrome) หรืออุปกรณ์รับเว็บ (ทีวี จอแสดงผล หรือแท็บเล็ต)
- โปรดทราบว่าวิดีโอจะแสดงอยู่ตรงกลางหน้าจอทีวี และองค์ประกอบ UI ไม่ควรรบกวนการแสดงผล วางองค์ประกอบ UI ไว้ภายในส่วนที่ 3 ด้านล่างของจอแสดงผลของ Web Receiver โดยเว้นขอบ 10% จากขอบของหน้าจอเผื่อไว้สำหรับการขยายภาพที่อาจเกิดขึ้น
- การเปลี่ยนจากสถานะหน้าจอหนึ่งไปยังอีกสถานะหนึ่งควรเป็นไปอย่างราบรื่นและดูสมจริง ใช้การเปลี่ยนภาพ เช่น เฟดอินและเฟดเอาต์แทนการย้ายจากสถานะหนึ่งไปยังอีกสถานะอย่างกะทันหัน ตัวอย่างเช่น สถานะการโหลดเนื้อหาจะอยู่บนหน้าจอและค่อยๆ ปรากฏขึ้นในประสบการณ์การเล่นสื่อ
อินเทอร์เฟซสำหรับผู้ส่ง:
- ผู้ส่งรองรับการดำเนินการของผู้ใช้และผู้รับทางเว็บจะแสดงข้อมูลสถานะ
เช่น หากเนื้อหาหยุดชั่วคราว ทีวีควรระบุว่าเนื้อหาหยุดชั่วคราว ขณะที่อุปกรณ์เคลื่อนที่ควรระบุว่าพร้อมเริ่มเล่น (เช่น แสดงปุ่มเล่นให้ผู้ใช้เห็น)
- ความเร็วเป็นเรื่องสำคัญ ผู้ใช้ต้องค้นหาตัวควบคุมการแคสต์ได้อย่างรวดเร็ว และเห็นเนื้อหาเริ่มเล่นบนหน้าจอขนาดใหญ่โดยทันที ขณะที่เนื้อหากำลังโหลด ให้แสดงตัวบ่งชี้การโหลดแบบเคลื่อนไหวและใช้ทรานซิชันเพื่อช่วยให้การโหลดดูเร็วขึ้น
วิธีที่ง่ายที่สุดในการตรวจสอบว่าแอปพลิเคชัน Cast ของคุณเป็นไปตามหลักการเหล่านี้คือ
การตรวจสอบอินเทอร์เฟซผู้ใช้ด้วยรายการตรวจสอบการออกแบบของ Cast และทดสอบแอปพลิเคชัน Cast ของคุณ
หลักเกณฑ์การใช้แบรนด์
หลักเกณฑ์การใช้แบรนด์ Google Cast ต่อไปนี้มีไว้สำหรับนักพัฒนาแอปและมุ่งเน้นที่ข้อกำหนดเพิ่มเติมที่คุณต้องทำตามเพื่ออธิบายแอปเป็นข้อความ
ดูหลักเกณฑ์การใช้แบรนด์สำหรับอุปกรณ์แคสต์ได้ที่ฮับการตลาดของพาร์ทเนอร์
คุณสามารถแจ้งให้ผู้อื่นทราบว่าแอปของคุณใช้ได้กับ Google Cast โดยใช้คำว่า "พร้อมใช้งาน Google Cast" อย่างไรก็ตาม โปรดตรวจสอบว่าแอปของคุณเป็นไปตามข้อกำหนดในการให้บริการเพิ่มเติมสำหรับนักพัฒนาแอปของ SDK ของ Cast และรายการตรวจสอบการออกแบบ รวมถึงการใช้ "เปิดใช้ Google Cast" ของคุณเป็นไปตามหลักเกณฑ์การใช้แบรนด์
คุณสามารถใช้ป้าย Google Cast ในทำนองเดียวกัน ตราบใดที่แอปหรืออุปกรณ์ของคุณเป็นไปตามหลักเกณฑ์การใช้ป้าย Google ขอสงวนสิทธิ์ในการขอให้คุณแก้ไขหรือหยุดใช้ป้ายหากป้ายไม่เป็นไปตามหลักเกณฑ์การใช้แบรนด์
"Google Cast" เป็นข้อความ
- เมื่ออธิบายแอป (ไม่ใช่ผลิตภัณฑ์ฮาร์ดแวร์) ว่าพร้อมใช้งาน Cast ให้ใช้วลี "พร้อมใช้งาน Google Cast" เช่น "แอปนี้พร้อมใช้งาน Google Cast"
- เมื่ออธิบายผลิตภัณฑ์ฮาร์ดแวร์ของบุคคลที่สามที่เข้ากันได้กับ Cast ให้ใช้ข้อความว่า "{TV} เครื่องนี้ใช้ได้กับ Google Cast" "{speakers} เหล่านี้ใช้ได้กับ Google Cast"
- เมื่อเขียนเป็นข้อความ "Google" และ "Cast" ควรเป็นตัวพิมพ์ใหญ่
- ในชิ้นงานการตลาดที่ใช้ "Google Cast" ในข้อความหรือป้าย/โลโก้ คุณต้องใส่การระบุแหล่งที่มาทางกฎหมายดังต่อไปนี้ Google Cast เป็นเครื่องหมายการค้าของ Google LLC
- อย่าใส่ Google Cast ในชื่อแอป (เช่น XYZ Google Cast App)
การรับส่งข้อความในแอปที่พร้อมใช้งาน Google Cast
คุณสามารถโปรโมตแอปของคุณได้ด้วยวิธีต่อไปนี้
- "XYZ เป็นแอปที่พร้อมใช้งาน Google Cast ซึ่งให้คุณสตรีมความบันเทิงที่คุณชื่นชอบจากอุปกรณ์เคลื่อนที่ไปยังทีวีได้"
- "ตอนนี้แอป XYZ พร้อมใช้งานสำหรับทีวีที่ทำงานร่วมกับ Google Cast ได้แล้ว"
- "ตอนนี้แอป XYZ พร้อมให้บริการสำหรับผลิตภัณฑ์ Google Cast ทั้งหมดแล้ว ซึ่งรวมถึง Google Chromecast, Google Cast Audio รวมถึงทีวีและลำโพงที่ใช้ได้กับ Google Cast"
- "แอป XYZ พร้อมใช้งาน Google Cast ซึ่งช่วยให้คุณเพลิดเพลินกับรายการทีวี/ภาพยนตร์/เพลง/เกมโปรดทั้งหมดบนทีวีที่ใช้งานได้กับ Google Cast"
- "ตอนนี้แอป XYZ รองรับ Google Cast แล้ว ซึ่งช่วยให้ผู้ใช้สตรีมเนื้อหาจากโทรศัพท์ไปยังทีวีที่ใช้งานร่วมกับ Google Cast ได้"
ป้าย Google Cast
คุณสามารถใช้ป้าย "Google Cast" บนเว็บไซต์ ข้อมูลผลิตภัณฑ์ใน App Store สื่อการตลาด และเนื้อหาส่งเสริมการขายเพื่อแสดงความเข้ากันได้กับอุปกรณ์ที่ใช้โปรโตคอล Cast
- อย่าแก้ไขสี สัดส่วน ระยะห่าง หรือลักษณะอื่นๆ ของรูปภาพป้าย
- เมื่อใช้คู่กับโลโก้สำหรับเทคโนโลยีส่วนผสมอื่นๆ (เช่น บลูทูธ, Spotify Connect, AirPlay ฯลฯ) ป้าย Google Cast ต้องมีขนาดเท่ากันหรือใหญ่กว่า
- อย่าทำให้ป้ายเป็นองค์ประกอบหลักในหน้าเว็บ
- รักษาระยะห่างระหว่างป้ายกับโลโก้และไอคอนอื่นๆ ในหน้าเว็บ
- เมื่อใช้กับพื้นหลังสีขาว อ่อน หรือปานกลาง ให้ใช้ป้ายสีดํา
- เมื่อใช้บนพื้นหลังโทนสีดำหรือสีเข้ม ให้ใช้ป้ายสีขาว
- ห้ามใช้ป้ายบนหน้าที่มีหรือแสดงเนื้อหาสำหรับผู้ใหญ่ ส่งเสริมการพนัน ส่งเสริมความรุนแรง มีวาจาสร้างความเกลียดชัง เกี่ยวข้องกับการขายยาสูบหรือแอลกอฮอล์ให้แก่ผู้ที่มีอายุต่ำกว่า 21 ปี ละเมิดกฎหมายหรือข้อบังคับอื่นๆ ที่เกี่ยวข้อง หรือไม่เหมาะสมในลักษณะอื่นๆ
การลิงก์ป้าย
เมื่อใช้ออนไลน์ ป้าย Google Cast ต้องลิงก์กับข้อใดข้อหนึ่งต่อไปนี้
- รายชื่อแอปและผลิตภัณฑ์ที่พร้อมใช้งาน Google Cast ของ Google ที่ g.co/castapps
- รายการผลิตภัณฑ์ที่คุณเผยแพร่
- หน้ารายละเอียดผลิตภัณฑ์ที่เฉพาะเจาะจงซึ่งคุณเผยแพร่
- รายการแอปที่คุณเผยแพร่
- หน้ารายละเอียดแอปที่เฉพาะเจาะจงซึ่งคุณเผยแพร่ใน Google Play หรือ Apple App Store
ดาวน์โหลดชิ้นงานป้าย Google Cast
ชุดการดาวน์โหลดประกอบด้วยรูปแบบ Portable Network Graphics (.png), Adobe Illustrator (.ai) และ Encapsulated Postscript (.eps)
แสดงตัวอย่างป้าย Google Cast
ดูป้ายทั้งหมดที่มีและวิธีการใช้ได้ในหน้าหลักเกณฑ์เกี่ยวกับป้ายในฮับพาร์ทเนอร์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eGoogle Cast enables streaming of content like video and audio from Android, iOS, and Chrome to compatible devices.\u003c/p\u003e\n"],["\u003cp\u003eThe sender device (phone, tablet, laptop) acts as a remote, while the receiver device (TV, speaker, display) plays the content.\u003c/p\u003e\n"],["\u003cp\u003eBoth sender and receiver UIs must be coordinated for a seamless user experience, with actions reflected on both.\u003c/p\u003e\n"],["\u003cp\u003eWeb Receiver applications should be lightweight due to device limitations, and interactive elements should be strategically placed for optimal viewing.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Cast branding guidelines must be followed when promoting app compatibility, including using the approved badge and messaging.\u003c/p\u003e\n"]]],["Google Cast enables content streaming from sender devices (phones, tablets, laptops) to receiver devices (Chromecast, Cast-enabled TVs/speakers/displays). Senders act as remote controls, while receivers display content from their internet connection. Both sender and receiver UIs coordinate actions like pausing/playing. Design considerations include lightweight receiver apps, UI placement within the lower third of the screen, and smooth transitions. Apps can be described as \"Google Cast-enabled\" and use a Google Cast badge, following specific branding guidelines and linking requirements.\n"],null,["# User Experience With the Google Cast Platform\n\nGoogle Cast allows Android, iOS, and Chrome web apps to \"stream\" content ---\nlike video, audio and screen sharing (mirroring) --- to Cast-ready devices\nlike:\n\n- Google Chromecast\n- TVs that work with Google Cast\n- Speakers that work with Google Cast\n- Smart Displays (a portable touchscreen LCD monitor used as a thin client)\n- Android Tablets\n\nIn the Google Cast interaction model, the mobile phone, tablet or laptop is the\n**sender** which acts as a remote control to control the playback, and the TV,\ndisplay or docked tablet is the **receiver** which receives instructions from\nthe sender and displays the content from the receiver's Internet connection. All\nthe user actions (taps and swipes) can take place on **both** the sender device\nor the Web Receiver.\n\nCasting relies on the coordination between two or more screens; the sender UI\nand the receiver UI --- they must work together. For example, if you press a\nbutton on a mobile device to pause the content, the TV should indicate that it\nis paused, while the mobile device should provide a play button to resume\nplayback.\n\nConsiderations\n--------------\n\nDue to hardware and resource limitations, there are certain restrictions placed\non Google Cast-enabled applications:\n\n- The Cast device is a low-power device with memory, CPU and GPU limitations, so the Web Receiver application should be as lightweight as possible.\n- For Cast and Google Cast interaction models, tabs, windows or popups can be created in both the Web Receiver or sender app, as well as directly accept user input, such as taps or swipes. For example, the Web Receiver app on a docked tablet or display can display a pause button and receive a user's tap. In this way, *all* actions on the application must be triggered from either a Web Receiver or sender application.\n- Smart Displays support user input through a sender app or via touch on the UI.\n- The Web Receiver is a Chrome browser optimized for video playback. As such, WebGL and Chrome Native Client (NaCL) are not currently supported, nor are Chrome extensions.\n- Cast supports a single concurrent media stream playback in the `\u003caudio\u003e` and `\u003cvideo\u003e` tags, or multiple audio tracks using the WebAudio API. Only one video element may be active in the DOM at any time. Additionally, video compositing, manipulation, transformations, rotations or zooming are not supported.\n\nOverall design principles\n-------------------------\n\nKeep the following in mind as you develop your user interface.\n\n**Web Receiver interface:**\n\n- The Web Receiver can have both interactive elements and informational elements to describe the state of the app, such as paused or playing, or error messages. User interaction can take place on the Cast sender (phone, tablet, or Chrome browser) or the Web Receiver (TV, displays, or tablets).\n- Remember that the video action is happening in the middle of the TV screen, and your UI elements should not interfere with the presentation. Place UI elements within the lower third of the Web Receiver display, leaving a 10% margin from the edges of the screen for possible [overscan](/cast/docs/caf_receiver/customize_ui#overscan).\n- When possible, transitions from one screen state to another should be smooth and feel cinematic. Rather than abrupt moves from state to state, use transitions like fade-in and fade-out. For example, the content-loading state lingers on-screen and fades into the media playing experience.\n\n**Sender interface:**\n\n- The sender supports user actions and the Web Receiver displays state information. For example, if content is paused, the TV should indicate that it is paused, while the mobile device indicates it is ready to start playing (for example, showing the user a play button).\n- Speed matters. Users need to be able to quickly locate the casting control and see content start playing immediately on the large screen. While content is loading, provide animated loading indicators and use transitions to help make things feel faster.\n\nThe easiest way to ensure that your Cast application follows these principles is\nto review your user interface with the Cast [Design Checklist](/cast/docs/design_checklist)\nand [test your Cast applications](/cast/docs/testing).\n\nBrand guidelines\n----------------\n\nThe following Google Cast brand guidelines are for app developers and focus on\nthe additional requirements you must comply with to describe your app in text.\nFor Cast devices brand guidelines see the\n[Partner Marketing Hub](https://partnermarketinghub.withgoogle.com/brands/google-cast/overview/brand-introduction/).\nYou can let others know that your app works with Google Cast by using\nthe term \"Google Cast-enabled\". However be sure that your app complies\nwith the Cast [SDK Additional Developer Terms of Service](/cast/docs/terms)\nand the [Design Checklist](/cast/docs/design_checklist), and that your\nuse of \"Google Cast-enabled\" complies with our branding guidelines.\n\nYou can similarly use a [Google Cast badge](#google_cast_badge)\nas long as your app or device complies with our badging guidelines. Google\nreserves the right to request that you modify or cease your use of the badge if\nit does not comply with the brand guidelines.\n\n### \"Google Cast\" in text\n\n- When describing an app (not a hardware product) as being Cast-enabled, use the phrase \"Google Cast-enabled\". For example: \"This app is Google Cast-enabled\".\n- When describing a Cast compatible third-party hardware product, use \"This {TV} works with Google Cast\", \"These {speakers} work with Google Cast\".\n- When written in text, \"Google\" and \"Cast\" should be capitalized.\n- In any marketing asset that uses \"Google Cast\" in text or the badge/logo, you must include the following legal attribution: Google Cast is a trademark of Google LLC.\n- Don't put Google Cast in the title of the app (such as XYZ Google Cast App).\n\n### Google Cast-enabled app messaging\n\nYou can promote your app as follows:\n\n- \"XYZ is a Google Cast-enabled app which lets you stream your favorite entertainment from your mobile device to your TV.\"\n- \"The XYZ app is now available for TVs that work with Google Cast.\"\n- \"The XYZ app is now available for all Google Cast products including Google Chromecast, Google Cast Audio, and TVs and speakers that work with Google Cast.\"\n- \"The XYZ app is Google Cast-enabled, allowing you to enjoy all your favorite shows/movies/music/games on your TV that works with Google Cast.\"\n- \"The XYZ app now has Google Cast support, allowing users to stream content from their phone to their TV that works with Google Cast.\"\n\n### Google Cast badge\n\nYou can use the \"Google Cast\" badges on your website, app store listing,\nmarketing materials and promotional materials to display compatibility with\ndevices that use the Cast protocol.\n\n- Don't modify the color, proportions, spacing or any other aspect of the badge image.\n- When used alongside logos for other ingredient technologies (for example, Bluetooth, Spotify Connect, AirPlay, etc.), the Google Cast badge must be of equal or greater size.\n- Don't make the badge the primary element on your page.\n- Keep some distance between the badge and other logos and icons on your page.\n- When used on white, light, or medium-toned background, use a black badge.\n- When used on a black or dark-toned background, use the white badge.\n- Don't use the badge on a page that contains or displays adult content, promotes gambling, promotes violence, contains hate speech, involves the sale of tobacco or alcohol to persons under twenty-one years of age, violates other applicable laws or regulations or is otherwise objectionable.\n\n### Badge linking\n\nWhen used online, the Google Cast badge must link to one of the following:\n\n- Google's list of Google Cast-enabled apps and products at [g.co/castapps](http://g.co/castapps).\n- A list of products published by you.\n- A specific product detail page published by you.\n- A list of apps published by you.\n- A specific app detail page published by you, on Google Play, or in the Apple App Store.\n\n### Download Google Cast badge assets\n\nThe download bundle includes Portable Network Graphics (.png), Adobe\nIllustrator (.ai), and Enapsulated Postscript (.eps) formats.\n\n- [Partner Hub Downloads page](https://partnermarketinghub.withgoogle.com/brands/google-cast/downloads/)\n\n### Preview Google Cast badges\n\nRefer to the [Partner Hub Badges Guidelines page](https://partnermarketinghub.withgoogle.com/brands/google-cast/visual-identity/visual-identity/#badge-guidelines)\nfor all available badges and instructions on usage."]]