Sha256: 1bf02abdbd4cf858d8895b2b77665b7e34f8584860e2777ac6b53b9a18baa469

Contents?: true

Size: 287 Bytes

Versions: 29

Compression:

Stored size: 287 Bytes

Contents

require 'filestack'

client = FilestackClient.new('APIKEY')
filelink = client.upload(filepath: 'test-files/doom.mp4')
video = filelink.transform.av_convert(width: 100, height: 100)
while video.status != 'completed'
    puts video.status
end
filelink = video.to_filelink
puts filelink.url

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
filestack-2.5.4 examples/video_convert.rb
filestack-2.5.3 examples/video_convert.rb
filestack-2.5.2 examples/video_convert.rb
filestack-2.5.1 examples/video_convert.rb
filestack-2.5.0 examples/video_convert.rb
filestack-2.4.0 examples/video_convert.rb
filestack-2.3.0 examples/video_convert.rb
filestack-2.2.1 examples/video_convert.rb
filestack-2.2.0 examples/video_convert.rb