%\ytIdTitle{No Ordinary Love - Sade}{_WcWHZc8s2I}
\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{yt4pdf}

%\margins{10bp}{10bp}{.5in}{.5in} % left,right,top, bottom
%\screensize{7.5in}{10in}             % height,width dimensions

\textBgColor{lightgray}

\DeclareDocInfo
{
    title=The \texorpdfstring{\textsf{yt4pdf} Package\\[3pt]}{yt4pdf Package: }Demo 3 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}
\makePoster{yt_poster}{graphics/yt_icon_sm}

\parindent=0pt\parskip6pt
\rheader{}

% dps need to change the catcode of subscript (_) before hyperref gets
% chance to look at it.
\declarePlayList{\playList}{%
    \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{No Ordinary Love - Sade}                            {_WcWHZc8s2I}
}

\begin{document}

\maketitle

\input{config_intacc.def}

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

\ytBtnPresets{\BC{.5 0 0}\W{1}\S{S}\textFont{HeBo}}%

\resizebox{\linewidth}{!}{\ytRmAnnot[play=eNzrn8-JFSE,poster=pdfyt_poster,
    deactivated=pageclose]{ytPlayOnOpen}{571bp}{330bp}}\\
{\setlength{\dimen0}{(\linewidth-2bp)/6}\xdef\ytWidth{\the\dimen0}}%
\ytPlayToggle{\ytWidth}{11bp}\ytStopLoading{\ytWidth}{11bp}%
\ytMuteToggle{\ytWidth}{11bp}\ytRewind{\ytWidth}{11bp}%
\ytSelect{eNzrn8-JFSE}{\ytWidth}{11bp}\ytOpenWeb[\textSize{0}]{\ytWidth}{11bp}%

\ytPlayList{GZ9e3Dy7obA}{\playList}

% We have to disable the RMA so the combo box can be seen above it.
Playlist: \ytComboList[\A{\JS{\thisNamedRMA(ytPlayOnOpen).activated=false;}}]{2.5in}{11bp}\kern1bp\ytComboBtn[\TU{Click to play, shift-click to load thumbnail only}]{33bp}{11bp}

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

\resizebox{\linewidth}{!}{\ytRmAnnot[load=GZ9e3Dy7obA,poster=pdfyt_poster,
    deactivated=pageclose]{ytLoadOnOpen}{571bp}{330bp}}\\
\ytBtnPresets{\BC{.5 0 0}\W{1}\S{S}\textFont{HeBo}}%
{\setlength{\dimen0}{(\linewidth-2bp)/6}\xdef\ytWidth{\the\dimen0}}%
\ytPlayToggle{\ytWidth}{11bp}\ytStopLoading{\ytWidth}{11bp}%
\ytMuteToggle{\ytWidth}{11bp}\ytRewind{\ytWidth}{11bp}%
\ytSelect{eNzrn8-JFSE}{\ytWidth}{11bp}\ytOpenWeb[\textSize{0}]{\ytWidth}{11bp}%

\ytPlayList{GZ9e3Dy7obA}{\playList}

% We have to disable the RMA so the combo box can be seen above it.
Playlist: \ytComboList[\A{\JS{\thisNamedRMA(ytLoadOnOpen).activated=false;}}]{2.5in}{11bp}\kern1bp\ytComboBtn[\TU{Click to play, shift-click to load thumbnail only}]{33bp}{11bp}


\end{document}
