Add better capacity for live lectures
This commit is contained in:
@@ -19,6 +19,10 @@ class LectureController < ApplicationController
|
||||
project_id: lecture.course.toggl_project,
|
||||
)
|
||||
|
||||
if lecture.is_live?
|
||||
redirect_to lecture.live_video_url, allow_other_host: true
|
||||
end
|
||||
|
||||
if lecture.recording.present?
|
||||
redirect_to lecture.recording.recording_url, allow_other_host: true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user