summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ltx4yt/examples/ltx4yt-1.tex
blob: 2f2a215b3e84674c23af6e036e0c4c686087a37f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
\documentclass{article}
\usepackage{ltx4yt}
\usepackage{multicol}

\hypersetup{%
  pdfpagemode=UseNone,colorlinks,
  pdftitle={The \texorpdfstring{\textsf{ltx4yt} Package\\[3pt]}{ltx4yt Package: }Playing YouTube in a Browser using links},
  pdfauthor=D. P. Story,
  pdfsubject={Play YouTube videos in the default browser},
  pdfkeywords={YouTube, AeB}
}

\title{The \texorpdfstring{\textsf{ltx4yt} Package\\[3pt]}{ltx4yt Package: }Playing YouTube videos in a browser using links}
\author{D. P. Story}

\addtolength{\textwidth}{.5in}

\parindent0pt \parskip6pt


\begin{document}



\maketitle

\textbf{Favorites to play:} Itemized links below use the \verb~\ytvId~ and \verb~\ytvId*~ commands,
the only \texttt{*} command is ``Kung-Fu Fighting* (Original),'' this one is played with advertisements
and related/unrelated content. The links in this document should work across all PDF viewers and across all devices.
\begin{flushleft}\raggedcolumns
\begin{multicols}{2}\bfseries
\begin{itemize}

\item \ytvId{GZ9e3Dy7obA}{Kung-Fu Fighting (Bruce Lee)}

\item \ytvId*{jhUkGIsKvn0}{Kung-Fu Fighting* (Original)}

\item \ytvId{_iUnOpPEg0w}{TegrityGuy}

\item \ytvId{eNzrn8-JFSE}{Open at Adobe}

\item \ytvId{q-iiFo-6Vi0}{Digital Signature in 9.0 Pro}

\item \ytvId{5y9-EVmreU4}{Lori's Corner: Episode \#1}

\item \ytvId{T9Yzo_hlwP0}{Intro to PDF Portfolios}
\end{itemize}
\end{multicols}
\end{flushleft}
What follows are customized links created by \verb~\ytLink~.

\ytLink{\watchId{5y9-EVmreU4}\params{autoplay=1}}{Lori's Corner: Episode \#1} (\verb~\watchId~ and \verb~\params~)

\ytLink{\embedId{5y9-EVmreU4}\params{autoplay=1&modestbranding=1}}{Lori's Corner: Episode \#1} (\verb~\embedId~ and \verb~\params~)

\ytLink{\embed{listType=search&list=Adobe Acrobat DC}}{Search for Adobe Acrobat DC} (\verb~\embed~ custom search)

\ytLink{embed?listType=search&list=table tennis}{Totally custom search link} (surprise topic)


\ytLink{\channel{rocketjump}}{The RocketJump Channel} (\verb~\channel~)

\ytLink{\user{freddiew}}{Freddie Diew's channel} (\verb~\user~)

\ytLink{\embedId{5y9-EVmreU4}\params{autoplay=1&controls=1&fs=1&modestbranding=1&playlist=T9Yzo_hlwP0,eNzrn8-JFSE}}{A playlist of three videos}

\textbf{PDF viewers:} \textsf{Acrobat}, \textsf{Acrobat Reader DC}, \textsf{PDFX-Change}, \textsf{SumatraPDF}, \textsf{evince}, \textsf{TeXworks}

\textbf{Browsers:} \textsf{Microsoft Edge}, \textsf{Firefox}, \textsf{Google Chrome}

\textbf{Devices:} \textsf{Android} smart phones, \textsf{iPhones}, \textsf{Android} tablets

\end{document}