1
$\begingroup$

It is very easy to load and run a YouTube video, for example via:

Button["Jordan Peterson Talk at Harvard --start at 26 min.", 
 SystemOpen[
  "https://www.youtube.com/watch?v=qqi0jHn_7-I&t=0s&list=\
PL98908E304F5D0395&index=36"]]

But how do I begin viewing at, say, minute 26 of the video instead of the beginning?

Thanks for help.

$\endgroup$
5
  • 3
    $\begingroup$ Not really on topic but your &t=0s should be &t=26m in the URL. $\endgroup$
    – Edmund
    Commented May 23, 2018 at 23:15
  • 4
    $\begingroup$ I'm voting to close this question as off-topic because it is unrelated to Mathematica. $\endgroup$
    – Jason B.
    Commented May 23, 2018 at 23:21
  • 2
    $\begingroup$ Note that there are functions available to help build URLs. For example, url = URLBuild[<| "Path" -> "https://www.youtube.com/watch", "Query" -> { "v" -> "qqi0jHn_7-I", "t" -> "26m", "list" -> "PL98908E304F5D0395", "index" -> 36} |>] $\endgroup$
    – Edmund
    Commented May 23, 2018 at 23:25
  • $\begingroup$ @Edmund (-1) for not using Quantity/UnitConvert etc. $\endgroup$
    – Kuba
    Commented May 24, 2018 at 6:42
  • $\begingroup$ Thanks Edmond for answering my question and saving me much time. And thanks @Edmond for making me properly ashamed for asking the question! $\endgroup$
    – GeofAndron
    Commented Jul 4, 2021 at 22:25

0

Browse other questions tagged or ask your own question.