Giphy.com allows loading gif files with specific content ratings.
A new config is added to the VE SDK to support this feature out of the box:
Android:
The property giphyRating is added to the EditorConfig file.
The default implementation is
var giphyRating: String = “”
A list of supported ratings is available here.
Example of setting a custom content rating for Giphy.com
class VideoEditorKoinModule {
...
single(named("giphyRating")){
"G"
}
...
}
iOS:
Property preferredRating
is added to ‘GifPickerConfiguration’.
The default implementation is preferredRating = “”
A list of supported ratings is available here.
Example of setting a custom content rating for Giphy.com
var config = VideoEditorConfig()
config.gifPickerConfiguration.preferredRating = "G"