קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
נגן מדיה הוא רכיב ברמת האפליקציה שמאפשר הפעלה של קובצי וידאו ואודיו. אפשר לאחסן קבצים כאלה באופן מקומי או להזרים אותם באינטרנט. Jetpack
Media3 מספק ממשק Player שמגדיר פונקציונליות בסיסית כמו היכולת להפעיל, להשהות, להריץ קדימה ואחורה ולהציג מידע על רצועת השמע.
ExoPlayer היא הטמעה שמוגדרת כברירת מחדל של הממשק הזה ב-Media3. בהשוואה ל-MediaPlayer API של Android, הוא מוסיף נוחות נוספת כמו תמיכה במספר פרוטוקולים של סטרימינג, רכיבי ברירת מחדל לעיבוד אודיו ווידאו ורכיבים שמטפלים בחיץ של המדיה. קל להתאים אישית את ExoPlayer ולהרחיב אותו, ואפשר לעדכן אותו באמצעות עדכוני אפליקציות דרך חנות Play.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Media3 ExoPlayer\n\nA media player is an app-level component that allows playback of video and audio\nfiles. Such files can be stored locally or streamed over the Internet. Jetpack\nMedia3 provides a `Player` interface that defines basic functionality such as\nthe ability to play, pause, seek, and display track information.\n\n`ExoPlayer` is the default implementation of this interface in Media3. Compared\nto Android's `MediaPlayer` API, it adds additional conveniences such as support\nfor multiple streaming protocols, default audio and video renderers, and\ncomponents that handle media buffering. ExoPlayer is easy to customize and\nextend, and can be updated through Play Store application updates.\n| **Tip:** If you are new to ExoPlayer, check out the [Getting started](/guide/topics/media/exoplayer/hello-world) page for an introduction to using ExoPlayer. If you already use the standalone ExoPlayer library, see the [migration guide](/guide/topics/media/media3/getting-started/migration-guide) for instructions on moving to Media3."]]