View source: R/oc_event_publication.R
oc_event_publication | R Documentation |
Returns a single publication.
oc_event_publication(eventId = "", publicationId = "", sign = FALSE)
eventId |
The event id |
publicationId |
The publication id |
sign |
Whether public distribution urls should be signed. |
This function expects the hostname, username and password to be set as environment variables.
Returns a single publication.
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") events <- oc_list_events() publications <- oc_event_list_publications(events$content$identifier[1]) oc_event_publication(events$content$identifier[1], publications$content$id[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.