Skip to content

Instantly share code, notes, and snippets.

@Lordfirespeed
Lordfirespeed / ios-youtube-pip.js
Created November 16, 2023 13:39
YouTube PiP Shortcut JS
let url = args.shortcutParameter
let videoWebView = new WebView()
await videoWebView.loadHTML(getHTML())
let videoHandle = videoWebView.present()
let videoId = parseVideoId(url)
let videoBlobUrl = await getVideoBlobURL(videoId)
await videoWebView.evaluateJavaScript(getInjectVideoTag(videoBlobUrl))
await videoWebView.evaluateJavaScript(getPlayJS(), true)
await videoHandle
@Lordfirespeed
Lordfirespeed / DaVinci Resolve Scripting Doc.txt
Created September 4, 2022 15:19 — forked from X-Raym/DaVinci Resolve Scripting Doc.txt
DaVinci Resolve Scripting API Doc v18
Updated as of 9 May 2022
----------------------------
In this package, you will find a brief introduction to the Scripting API for DaVinci Resolve Studio. Apart from this README.txt file, this package contains folders containing the basic import
modules for scripting access (DaVinciResolve.py) and some representative examples.
From v16.2.0 onwards, the nodeIndex parameters accepted by SetLUT() and SetCDL() are 1-based instead of 0-based, i.e. 1 <= nodeIndex <= total number of nodes.
Overview
--------