Add support for "t" param in watch page

このコミットが含まれているのは:
Omar Roth 2018-05-30 09:10:56 -05:00
コミット b8d4951a48
1個のファイルの変更4行の追加0行の削除

ファイルの表示

@ -245,6 +245,10 @@ get "/watch" do |env|
if env.params.query["start"]?
video_start = decode_time(env.params.query["start"])
end
if env.params.query["t"]?
video_start = decode_time(env.params.query["t"])
end
video_start ||= 0
if env.params.query["end"]?