summaryrefslogtreecommitdiff
path: root/obsolete/macros/latex/contrib/yt4pdf/examples/yt4pdf-1.tex
blob: fac944ab7ae1f3a73f779a4070c4aaa5e2e70743 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
\documentclass{article}
\usepackage{amsmath}
%
% the driver line is not necessary if you
% have aebpro.cfg configured to your driver.
%
\usepackage[%
    web={designv,pro,tight,usesf,usetemplates},
    eforms,graphicxsp={showembeds},aebxmp
]{aeb_pro}
\usepackage{rmannot}
\usepackage{yt4pdf}
\usepackage{multicol}

\textBgColor{lightgray}

\DeclareDocInfo
{
    title=The \texorpdfstring{\textsf{yt4pdf} Package\\[3pt]}{yt4pdf Package: }Demo 1 of You Tube API,
    author=D. P. Story,
    university=Acro\negthinspace\TeX.Net,
    email=dpstory@acrotex.net,
    subject={Live streamed video from YouTube.com},
    keywords={You Tube, AeB, rmannot},
    talksite=\url{http://www.acrotex.net},
    talkdate={\today}
}
\talkdateLabel{Published:}

\def\AcroTeX{Acro\!\TeX}

\makePoster{pdfyt_poster}{pdfyt_poster}

\parindent=0pt\parskip6pt
\rheader{}

\DeclarePageLayout{footskip=29pt}

\declarePlayList{\playList}{% dps note I've put these parentheses within braces, that was the problem.
    \ytIdTitle{Kung-Fu Fighting {(Bruce Lee version)}}{GZ9e3Dy7obA}
    \ytIdTitle{Kung-Fu Fighting {(Original, must view on YouTube)}}{jhUkGIsKvn0}
    \ytIdTitle{RAF Sculthorpe {(Watch for my Mom!)}}{K7H8QghVs9k}
    \ytIdTitle{Rocket Jump}{7XzdZ4KcI8Y}
    \ytIdTitle{Abdul And Cleopatra - Jonathan Richman and the Modern Lovers}{mLDF5MBMWHE}
}

\begin{document}

\maketitle

\input{config_intacc.def}

\begin{center}\bfseries\Large\color{blue}YT4PDF\end{center}


%\previewtrue

\begin{minipage}{571bp/2}
\ytRmAnnot[poster=pdfyt_poster,deactivated=pageclose]{YouTube}{571bp/2}{330bp/2}
\end{minipage}\hfill
\begin{minipage}{\linewidth-290bp-10bp}\centering
\ytPlayToggle{1in}{11bp}\\[3bp]
\ytStopLoading[\textSize{0}]{1in}{11bp}\\[3bp]
\ytMuteToggle{1in}{11bp}\\[3bp]
\ytRewind{1in}{11bp}\\[3bp]
\ytSelect[\textSize{0}]{eNzrn8-JFSE}{1in}{11bp}\\[6bp]
\ytOpenWeb[\textSize{0}]{1in}{11bp}
\end{minipage}

\medskip

\begin{flushleft}
\raggedcolumns\bfseries
Favorites to play:\vspace{-.5\baselineskip}
\begin{multicols}{2}\ytPlayList{GZ9e3Dy7obA}{\playList}%
\begin{itemize}
\item \ytComboList{\linewidth-1bp-33bp}{11bp}\kern1bp\ytComboBtn[\TU{Click to play, shift-click to load thumbnail only}]{33bp}{11bp}
\item \ytvId{_iUnOpPEg0w}{TegrityGuy}

\item \ytvId*{eNzrn8-JFSE}{Open at Adobe} (load thumbnail)

\columnbreak

\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}



\end{document}