作者terrat
看板iOS
標題[教學] FW:MacRumors youtube safari pip
Shortcut solution to bring back ios14 youtube safari pip feature
https://www.macrumors.com/how-to/picture-in-picture-fix-youtube/amp/
https://i.imgur.com/0dHPe5I.jpg
=============
Remove the existing JavaScript code in the shortcut window and paste in the fo
llowing code:
let v = document.querySelector('video');
v.addEventListener('webkitpresentationmodechanged', (e)=>e.stopPropagation(),
true);
setTimeout(()=>v.webkitSetPresentationMode('picture-in-picture'), 3000);
completion()
※ 編輯: terrat (75.82.211.40 美國), 09/24/2020 04:54:12
推 happyptt: Thanks 09/24 08:38
推 jickey: 實用推! 09/24 10:05
推 greed3819: 沒用餒 09/24 10:47
推 linfish: 實用推 09/24 10:53
→ kouta: 剛試了 執行後回網頁就變成能PIP 09/24 11:20
推 kill7123: 實用推 09/24 11:22
推 qwer3086: 英文看起來好困難 12/27 23:31