View source: R/move_subtitles.R
| move_subtitles | R Documentation |
subtitles.Move subtitles
Move subtitles forward or backward in subtitles.
move_subtitles(x, lag)
x |
|
lag |
|
A subtitles or multisubtitles object.
f1 <- system.file("extdata", "ex_subrip.srt", package = "subtools")
s1 <- read_subtitles(f1, metadata = tibble::tibble(Season = 1, Episode = 2))
s2 <- move_subtitles(s1, 2.7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.