summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/yt4pdf/examples/yt4pdf-1.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/yt4pdf/examples/yt4pdf-1.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/yt4pdf/examples/yt4pdf-1.tex')
-rw-r--r--macros/latex/contrib/yt4pdf/examples/yt4pdf-1.tex93
1 files changed, 93 insertions, 0 deletions
diff --git a/macros/latex/contrib/yt4pdf/examples/yt4pdf-1.tex b/macros/latex/contrib/yt4pdf/examples/yt4pdf-1.tex
new file mode 100644
index 0000000000..fac944ab7a
--- /dev/null
+++ b/macros/latex/contrib/yt4pdf/examples/yt4pdf-1.tex
@@ -0,0 +1,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}