class Zype::SubtitlePlaylists
The Subtitle Playlists
API allows users to integrate subtitles with HLS manifests from a Zype
video source. It’s a simple way to add subtitles which will be supported in all platforms that implement the Apple HLS specification. This class does not support all, find and update methods. Read more at docs.zype.com/v1.0/reference#subtitle-playlists
@since 0.7.0
Public Instance Methods
delete(language:, video_id:)
click to toggle source
Deletes an existing subtitle via the API
@param language [String] language of the playlist - must be full name - not code @param video_id [String] ID of the video the subtitle belongs to @return [Hash] the deleted subtitle
# File lib/zype/models/subtitle_playlists.rb, line 20 def delete(language:, video_id:) client.execute(method: :delete, path: "/videos/#{video_id}/subtitle_playlists/#{language}") end