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