CompressX supports deep linking, allowing you to integrate it into your workflow. Simply trigger a deep link to automatically launch CompressX and compress your files.
The deep link format is as follows:
compressx://open?path={path_to_your_file}
// examples
// version 1.1
compressx://open?path=file:///Users/hieudinh/Desktop/simple_app.mov
compressx://open?path=file:///Users/hieudinh/Desktop/image.png
// version 1.2
compressx://open?path=/Users/hieudinh/Desktop/simple_app.mov
compressx://open?path=/Users/hieudinh/Desktop/Screen Recording 2024-01-23 at 21.59.45.mov
compressx://open?path=/Users/hieudinh/Desktop/Screen%20Recording%202024-01-23%20at%2021.59.45.mov
compressx://open?path=/Users/hieudinh/Desktop/image.jpg
// version 1.5
compressx://open?path=/Users/hieudinh/Desktop/simple_app.mov&quality=high&videoFormat=mp4&removeAudio=true
Note:
quality
possible values: highest
, high
, good
, medium
, acceptable
. Default is high
videoFormat
possible values: same
, mp4
, webm
. Default is same
removeAudio
possible values: true
, false
. Default is false