Description Usage Arguments Value
View source: R/rooglevideo_auth.R
Ideal for use in automated scripts or Shiny apps. No browser will pop up during this method. Instead, you will need to receive a service account '.json' file from Google. This file will contain your private key, which should be kept secret. Additionally, you will need OAuth creds to obtain the client id and secret.
1 | service_auth(client_id, client_secret, service_json)
|
client_id |
A string containing the client_id given from Google. |
client_secret |
A string containin the client secret given from Google. |
service_json |
A string path to your service account .json file. |
A service token for use within the session.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.