plugins/html5_video/lib/html5_video_plugin/pool_helper.rb
module Html5VideoPlugin::PoolHelper
def position_for(video)
pool = VideoProcessor::PoolManager.new(Rails.root.to_s)
pool.queue_position(video.environment_id, video.id)
end
def is_ongoing?(video)
pool = VideoProcessor::PoolManager.new(Rails.root.to_s)
pool.is_ongoing?(video.environment_id, video.id)
end
end