Null // Scriptable needs a simple type at end of functionĭocument.getElementById("container"). Video.webkitSetPresentationMode("picture-in-picture") Just when we thought we’d come up with a clever hack to enable picture-in-picture mode for YouTube in iOS 14a privilege YouTube would prefer to charge you forthe company has wised up and. Let video = document.getElementsByTagName("video") Anyone see any reason this may now be failing? Or any way to debug it?Īwait videoWebView.evaluateJavaScript(getInjectVideoTag(videoURL))Īwait videoWebView.evaluateJavaScript(getPlayJS(), true) The Shortcut is a simple, two-action shortcut.įor #2, the code is as follows. Have tried deleting and reinstalling the shortcut and scriptable but still not Press J to jump to the feed. This seems to have stopped working, however. Picture-in-picture overview How picture-in-picture works Using. Step 2: Download the YouTube PiP Siri Shortcut from this iCloud Link. Picture-in-picture (PiP) allows you to continue watching YouTube TV while using other apps on your mobile device. Pause the video and tap on the ‘Share’ icon in your URL bar. Step 1: First of all download the free Scriptable app from the App Store. Once you are on YouTube, find the video that you wish to play in the background. I used it from the YouTube iOS app, which does not natively support PIP as standard. Follow these instructions to watch YouTube videos in PiP mode on iPhone and iPad. There has long been a Shortcut which uses code in Scriptable to allow picture-in-picture video overlay.
0 Comments
Leave a Reply. |