ShareShortcuts
Bifurcar “YouTube PIP”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que shorctutsink reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
58K
Guardado
2
Acciones
20
Categoría
Social Network
Versión
1.1
Idioma
EN

A simple shortcut for playing any youtube video in PIP mode without extra applications

How to use:

- Share a video from YouTube App to the shortcut

- A new page will be loaded in safari app

- Play the video in safari app

- Swipe Up or Press home button

- thats it 😄

How To Update:

This shortcut uses Lemon Updater shortcut for updates

Note: this shortcut use a simple website to fetch youtube video and enable PIP mode.

Novedades

Versión 1.1

- Add Lemon Updater Support

Historial de versiones
1.1 15 de sep. de 2022

- Add Lemon Updater Support

1.0 15 de sep. de 2022

First release

Qué hace

20 acciones
  1. Dictionary
  2. If
  3. Choose from Menu
  4. Choose from Menu
    Check For Updates
  5. Get My Shortcuts
  6. Match Text
  7. If
  8. Run Shortcut
    Lemon Updater
  9. If
  10. Choose from Menu
    Visit shortcuts.ink
  11. Open URLs
  12. If
  13. Get Item from List
  14. Match Text
  15. Get Group from Matched Text
  16. If
  17. Text
  18. Open URLs
  19. If
  20. Show Alert

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#include 'actions/web'
#include 'actions/shortcuts'
#define color red
#define glyph videoIcon

const Dictionary = {
	"Author": "shortcuts.ink",
	"Name": "YouTube PIP",
	"RH ID": "12977",
	"Version": "1.0",
	"Website": "https://shortcuts.ink"
}

if !ShortcutInput {
	menu nil {
	item "Check For Updates":
		getShortcuts()
		const Matches = containsText(, "Lemon Updater", false)
		if Matches {
			run("Lemon Updater", Dictionary)
		} else {
		}
	item "Visit shortcuts.ink":
		openURL("https://shorcuts.ink")
	}
} else {
	getFirstItem(ShortcutInput)
	const Matches1 = containsText(, "(?:youtube(?:-nocookie)?\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})")
	const Text = getMatchGroup(Matches1, 0)
	if Text {
		const Text1 = "https://shortcuts-ink.surge.sh/youtube.html?id={Text}"
		openURL(Text1)
	} else {
		confirm("Please, share valid YouTube video link")
	}
}
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de shorctutsink

Ver todo

También te puede gustar

Ver todo
Publicidad