ImagePicker.WriteVideoToSavedPhotosAlbum
----------------------------------------

Adds a video to the saved photos album.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImagePicker](component_ImagePicker.md) | [7.3](newinversion73.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "ImagePicker.WriteVideoToSavedPhotosAlbum"; FilePath { ; FileName; ScriptName; Parameter } ) 

**MBS**( **"ImagePicker.WriteVideoToSavedPhotosAlbum"** /\* Adds a video to the saved photos album. \*/  
**$FilePath**; /\* The file path to the video file. \*/   
**$FileName**; /\* Optional; The file name for the script. e.g. Get(FileName) \*/   
**$ScriptName**; /\* Optional; The script name for the trigger. \*/   
**$Parameter**) /\* Optional; The script parameter to use. \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| FilePath | The file path to the video file. |  |  |
| FileName | The file name for the script. | Get(FileName) | Optional |
| ScriptName | The script name for the trigger. |  | Optional |
| Parameter | The script parameter to use. |  | Optional |

### Result

Returns OK or error.

### Description

Adds a video to the saved photos album.  
The work is done in background and we can optionally trigger a script when done.  
  
This function requires a native path. Use [Path.FileMakerPathToNativePath](PathFileMakerPathToNativePath.md) to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use [FileDialog](component_FileDialog.md) functions.  
### See also

- [ImagePicker.WriteImageToSavedPhotosAlbum](ImagePickerWriteImageToSavedPhotosAlbum.md)
- [Path.FileMakerPathToNativePath](PathFileMakerPathToNativePath.md)

This function checks for a license.

Created 17th June 2017 , last changed 18th June 2017

  
[ImagePicker.WriteImageToSavedPhotosAlbum](ImagePickerWriteImageToSavedPhotosAlbum.md) - [ImagePlayground.AddConcept](ImagePlaygroundAddConcept.md)

[HTML Version](ImagePickerWriteVideoToSavedPhotosAlbum.shtml)