Android O’s Picture in Picture mode will be a welcome addition when third-party apps fully support it later this year. Fortunately, those on the Developer Preview can start using the feature right now in YouTube with a fast and simple tweak.

Courtesy of XDA, PIP can be activated by taking advantage of O’s ability to add buttons to the navigation bar. As such, users need to first activate the System UI Tuner in Quick Settings by holding down the Settings icon. Then navigate to Settings > System > System UI Tuner > Navigation bar.

In either the Left or Right keycode, enter 171. This KeyEvent keycode corresponds to the KEYCODE_WINDOW command on Android TV that enables PIP. Feel free to also customize the icon for the button.

After enabling, head to YouTube and play any video. At the moment, it appears to be the only application that has support for PIP. Tapping the new button will shrink the video into a tiny window. Likely a bug, but users are also returned to their last foreground app even if you were most recently on the homescreen.

The new PIP window is the same size as YouTube’s in-app PIP mode, but can be dragged anywhere on the screen, as well as partially hidden by dragging to the very edge. Double tapping reopens the video app, while a single tap shows miniature controls for pausing the video and closing the window.

There is another bug where the video frame might get cut off in the PIP even after you return to the YouTube app. However, in general, PIP in its current state is usable, but expect a number of bugs.

FTC: We use income earning auto affiliate links. More.

Check out 9to5Google on YouTube for more news:

You’re reading 9to5Google — experts who break news about Google and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Google on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

About the Author

Abner Li

Editor-in-chief. Interested in the minutiae of Google and Alphabet. Tips/talk: