{"id":19672739,"url":"https://github.com/halilozel1903/exoplayerscreenlock","last_synced_at":"2025-04-29T01:30:46.317Z","repository":{"id":42530775,"uuid":"462901531","full_name":"halilozel1903/ExoPlayerScreenLock","owner":"halilozel1903","description":"Example of Lock Screen 🔓 and Full Screen 📺 mod in ExoPlayer ▶️","archived":false,"fork":false,"pushed_at":"2024-04-23T18:48:46.000Z","size":153,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T12:23:17.923Z","etag":null,"topics":["android-kotlin-example","android-video-player","android-video-streaming","exoplayer","exoplayer-caching","exoplayer-demo","exoplayer-kotlin","exoplayer-subtitles","exoplayer-video","exoplayer-wrapper","exoplayer2","exoplayerinsiderecyclerview","exoplayertrackselection","fullscreen-mode","fullscreen-videos","kotlin-android","lockscreen"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halilozel1903.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-02-23T20:51:43.000Z","updated_at":"2024-11-10T12:37:23.000Z","dependencies_parsed_at":"2023-01-31T11:45:52.634Z","dependency_job_id":"7621395c-a1c0-4e85-9792-e4b6a0fc9b96","html_url":"https://github.com/halilozel1903/ExoPlayerScreenLock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilozel1903%2FExoPlayerScreenLock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilozel1903%2FExoPlayerScreenLock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilozel1903%2FExoPlayerScreenLock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halilozel1903%2FExoPlayerScreenLock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halilozel1903","download_url":"https://codeload.github.com/halilozel1903/ExoPlayerScreenLock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251415618,"owners_count":21585865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android-kotlin-example","android-video-player","android-video-streaming","exoplayer","exoplayer-caching","exoplayer-demo","exoplayer-kotlin","exoplayer-subtitles","exoplayer-video","exoplayer-wrapper","exoplayer2","exoplayerinsiderecyclerview","exoplayertrackselection","fullscreen-mode","fullscreen-videos","kotlin-android","lockscreen"],"created_at":"2024-11-11T17:13:10.578Z","updated_at":"2025-04-29T01:30:45.802Z","avatar_url":"https://github.com/halilozel1903.png","language":"Kotlin","funding_links":["https://www.buymeacoffee.com/halilozel1903"],"categories":[],"sub_categories":[],"readme":"# How to add Lock Screen 🔓 \u0026 Full Screen 📺 mod in ExoPlayer ▶️\n\n![ExoPlayer](https://miro.medium.com/max/1400/1*4u9gHCST9NfXnr-xlUO9tg.png)\n\n**ExoPlayer** is an application level media player for Android. It provides an alternative to Android’s MediaPlayer API for playing audio and video both locally and over the Internet. ExoPlayer supports features not currently supported by Android’s MediaPlayer API, including **DASH** and **SmoothStreaming** adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to customize and extend, and can be updated through Play Store application updates.\n\nExoPlayer allows developers to create and use custom controllers. In the sample project we will do, we add icons for both full screen mode and screen locking.\n\n## Full Screen Mode 📺 \n\nLet's start with how we integrate Full Screen mode, which is one of the indispensable features in the streaming world, into our application. Netflix allows the user to watch directly in landscape mode. Some applications, for example TV+, allow the user to watch in both horizontal and vertical modes.\n\n![ExoPlayer](https://cdn-images-1.medium.com/max/2400/1*bT9StnFnLgvIT1huYMHvqg.png)\n\n![ExoPlayer](https://cdn-images-1.medium.com/max/2400/1*IWVzHJkYCurv_IzPeC5Dkw.png)\n\n## Screen Lock Mode 🔓\n\nAnother popular feature on Netflix recently is screen locking. The user can continue watching by locking the screen. When the screen is locked, it provides the opportunity to have pleasant moments by focusing directly on the relevant content without accessing the player. If the user wants to unlock the screen, he activates all the elements on the player screen by pressing the Lock icon.\n\n\u003cimg src=\"https://cdn-images-1.medium.com/max/2400/1*iRea2doBvLdK0syTGCtdmg.png\" width=\"300\" /\u003e   \u003cimg src=\"https://cdn-images-1.medium.com/max/2400/1*pnq8nE_HgvO9vRTXKzB2xw.png\" width=\"300\" /\u003e\n\n## Donation 💸\n\nDo you want to support me? ☕\n\n[![\"Buy Me A Coffee\"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/halilozel1903)\n\n## License ℹ️\n```\nMIT License\n\nCopyright (c) 2023 Halil OZEL\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalilozel1903%2Fexoplayerscreenlock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalilozel1903%2Fexoplayerscreenlock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalilozel1903%2Fexoplayerscreenlock/lists"}