Description Usage Arguments Value Examples
get a html5 player for a video <id>
1 |
server |
A WebPagetest server |
testId |
test ID string |
file |
Write the result returned to file. Defaults to NULL = don't write to file |
dryRun |
If TRUE just return the RESTful API URL. Defaults to FALSE |
... |
Additonal function arguments |
Writes a html file with embedded video if file argument is not NULL else returns HTML.
1 2 3 4 5 6 7 | ## Not run:
WPT <- server()
history <- getHistory(WPT, days = 10L, filter = "google.com")
tests <- tail(history[["Test ID"]], 1)
vidRes <- getEmbedVideoPlayer(WPT, tests$testId)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.