summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/media9
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-03-06 22:10:21 +0000
committerKarl Berry <karl@freefriends.org>2014-03-06 22:10:21 +0000
commitdce368d510dc3ccdacfd71146a8fbd05bb74f82d (patch)
treebfb2544e02ad1f3fe1a3c67af92fcb685b2fb7cd /Master/texmf-dist/tex/latex/media9
parent08f1d1c4e2857a3aa0ed1fffaf12ebc78006919b (diff)
media9 (6mar14)
git-svn-id: svn://tug.org/texlive/trunk@33108 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/media9')
-rw-r--r--Master/texmf-dist/tex/latex/media9/media9.sty33
-rw-r--r--Master/texmf-dist/tex/latex/media9/players/VPlayer.swfbin502357 -> 502482 bytes
2 files changed, 21 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/media9/media9.sty b/Master/texmf-dist/tex/latex/media9/media9.sty
index 6acf9ac4bce..5b099609fd2 100644
--- a/Master/texmf-dist/tex/latex/media9/media9.sty
+++ b/Master/texmf-dist/tex/latex/media9/media9.sty
@@ -42,8 +42,8 @@
\RequirePackage{atbegshi}
\RequirePackage{tikz}
-\def\g@mix@date@tl{2014/02/17}
-\def\g@mix@version@tl{0.40}
+\def\g@mix@date@tl{2014/03/06}
+\def\g@mix@version@tl{0.41}
\def\g@mix@liiikerneldate{2013/07/28}
\def\g@mix@liiipkgdate{2013/07/28}
@@ -468,7 +468,6 @@
}
\group_end:
-
%macros for adding AcroForm and OCProperties dicts to PDF Catalog
\tl_if_exist:cF{@anim@fields}{\tl_gset:cn{@anim@fields}{}}%takes Field object refs
\cs_new:Nn\mix_insert_acroform:{ %AcroForm dict
@@ -476,7 +475,7 @@
\mix_pdfobj:nnn{}{array}{}
\tl_gset:Nx\g_mix_fieldsarray_tl{\g_mix_pdflastobj_tl}
\mix_pdfcatalog:n{
- /AcroForm~<</Fields~\g_mix_fieldsarray_tl/NeedAppearances~true>>}
+ /AcroForm~<</Fields~\g_mix_fieldsarray_tl/NeedAppearances~false>>}
\AtEndDocument{
\mix_pdfobj:nnn{\g_mix_fieldsarray_tl}{array}{\@anim@fields}
}
@@ -507,13 +506,11 @@
\tl_gset:cn{oc@props@added}{}
}
}
-\cs_new:Nn\mix_insert_btnocg:{%OCG for play button
+\cs_new:Nn\mix_insert_btnocg:{%OCG for play button overlay
\tl_if_exist:NF\g_mix_btnocg_tl{
- \mix_pdfobj:nnn{}{dict}{/Type/OCG/Name~(MediaPlayButton)
- /Usage<<
- /Print<</PrintState/OFF>>
- /Export<</ExportState/OFF>>
- >>
+ \mix_pdfobj:nnn{}{dict}{
+ /Type/OCG/Name~(MediaPlayButton)
+ /Usage<</Print<</PrintState/OFF>>/Export<</ExportState/OFF>>>>
}
\tl_gput_right:Nx\@anim@ocgs{\space\g_mix_pdflastobj_tl}
\tl_gput_right:Nx\@anim@offocgs{\space\g_mix_pdflastobj_tl}
@@ -1255,7 +1252,13 @@
\tl_if_empty:NF\g_mix_usrlabel_tl{
\mix_keytoaux_now:nn{ann@\g_mix_usrlabel_tl}{draft}
}
- \mix_draftbox:n{\tl_to_str:n{#3}}
+ \tl_if_blank:oTF{#2}{
+ \mix_draftbox:n{\tl_to_str:n{#3}}
+ }{
+ \box_move_down:nn{\l_mix_dp_tl-\box_dp:N\l_mix_poster_box}{
+ \box_use:N\l_mix_poster_box
+ }
+ }
}{
%embed main asset
\mix_uribegin:
@@ -1469,6 +1472,7 @@
}
}
}catch(e){}
+ this.dirty=false;
)
}
\mix_pdfannot:nnnn{0pt}{0pt}{0pt}{
@@ -2589,7 +2593,12 @@
/T~(mbtn@\int_use:N\g_mix_mbtncnt_int)
\tl_if_empty:NF\g_mix_tooltip_tl{/TU~(\g_mix_tooltip_tl)}
/FT/Btn/Ff~65536
- /H/P
+ \tl_if_empty:NTF\g_mix_downbtn_tl{/H/I}{/H/P}
+ /AP~<<
+ /N~\g_mix_normalbtn_tl
+ \tl_if_empty:NF\g_mix_overbtn_tl{/R~\g_mix_overbtn_tl}
+ \tl_if_empty:NF\g_mix_downbtn_tl{/D~\g_mix_downbtn_tl}
+ >>
/MK~<<
/TP~1~/IF~<</S/A/FB~true/A~[0.0~0.0]>>
/I~\g_mix_normalbtn_tl
diff --git a/Master/texmf-dist/tex/latex/media9/players/VPlayer.swf b/Master/texmf-dist/tex/latex/media9/players/VPlayer.swf
index 2801daea750..fc97ef42730 100644
--- a/Master/texmf-dist/tex/latex/media9/players/VPlayer.swf
+++ b/Master/texmf-dist/tex/latex/media9/players/VPlayer.swf
Binary files differ