forked from External/greenlight
added footer to share email
This commit is contained in:
@ -339,7 +339,7 @@ class @Recordings
|
||||
recording_url = row.playbacks[0].url
|
||||
webcams_url = getHostName(recording_url) + '/presentation/' + id + '/video/webcams.webm'
|
||||
subject = username + I18n.recording_mail_subject
|
||||
body = I18n.recording_mail_body + "\n\n" + recording_url
|
||||
body = I18n.recording_mail_body + "\n\n" + recording_url + "\n\n" + I18n.email_footer_1 + "\n" + I18n.email_footer_2
|
||||
|
||||
mailto = "mailto:?subject=" + encodeURIComponent(subject) + "&body=" + encodeURIComponent(body);
|
||||
window.open(mailto);
|
||||
|
@ -178,7 +178,7 @@ class BbbController < ApplicationController
|
||||
client = Yt::Account.new(access_token: current_user.token)
|
||||
video = client.upload_video(get_webcams_url(params[:record_id]),
|
||||
title: params[:video_title],
|
||||
description: t('youtube_description'),
|
||||
description: t('youtube_description', url: 'https://bigbluebutton.org/'),
|
||||
privacy_status: params[:privacy_status])
|
||||
rescue
|
||||
# In this case, they don't have a youtube channel connected to their account, so prompt to create one.
|
||||
|
Reference in New Issue
Block a user