From 41d1be12f4963b0f5bf9903116883f1458b58960 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 24 Sep 2022 03:04:02 +0000 Subject: CTAN sync 202209240304 --- macros/latex/contrib/media4svg/ChangeLog | 4 + macros/latex/contrib/media4svg/README.md | 11 +- .../contrib/media4svg/example/beamer-example-1.svg | 107 +++---- .../contrib/media4svg/example/beamer-example-2.svg | 343 +++++++++++++++++++-- .../contrib/media4svg/example/beamer-example-3.svg | 74 ++--- .../contrib/media4svg/example/beamer-example-4.svg | 216 +++++++------ .../contrib/media4svg/example/beamer-example.tex | 111 +++---- macros/latex/contrib/media4svg/example/random.mp4 | Bin 0 -> 20206 bytes macros/latex/contrib/media4svg/media4svg.sty | 65 ++-- 9 files changed, 611 insertions(+), 320 deletions(-) create mode 100644 macros/latex/contrib/media4svg/example/random.mp4 (limited to 'macros/latex/contrib/media4svg') diff --git a/macros/latex/contrib/media4svg/ChangeLog b/macros/latex/contrib/media4svg/ChangeLog index bd283d4094..b7ce2c25a5 100644 --- a/macros/latex/contrib/media4svg/ChangeLog +++ b/macros/latex/contrib/media4svg/ChangeLog @@ -1,3 +1,7 @@ +2022-09-23 + * v0.11 + * improvement: scaling of video player controls + 2022-09-12 * v0.10 * new: youtube support diff --git a/macros/latex/contrib/media4svg/README.md b/macros/latex/contrib/media4svg/README.md index ffd660a6b1..4b280442d2 100644 --- a/macros/latex/contrib/media4svg/README.md +++ b/macros/latex/contrib/media4svg/README.md @@ -1,6 +1,6 @@ # The `media4svg` LaTeX Package -Version 0.10, 2022/09/12 +Version 0.11, 2022/09/23 © 2020--today, Alexander Grahn @@ -87,8 +87,8 @@ The package itself is loaded with Package options are: `draft`, `final`, `autoplay`, `loop`, `controls`, `mimetype`, `width`, `height`, `totalheight`, `keepaspectratio`, `scale`, -`url`, `embed`. They have the same meaning as the command options explained -below, but are applied globally. +`url`, `youtube`, `embed`. They have the same meaning as the command options +explained below, but are applied globally. Note that `media4svg` is incompatible with package `media9`. @@ -148,6 +148,11 @@ be embedded in the SVG file. ````latex youtube ```` +The last argument of `\includemedia' is taken as a comma-separated list of +YouTube video IDs. +````latex +youtube +```` This embeds a YouTube player. The last argument of `\includemedia` is a single or a comma-separated list of YouTube video IDs. ````latex diff --git a/macros/latex/contrib/media4svg/example/beamer-example-1.svg b/macros/latex/contrib/media4svg/example/beamer-example-1.svg index 535c57cccd..4b47032022 100644 --- a/macros/latex/contrib/media4svg/example/beamer-example-1.svg +++ b/macros/latex/contrib/media4svg/example/beamer-example-1.svg @@ -3,68 +3,41 @@ -Presentationexamplewithembeddedvideo -UseaWebbrowserandpress - - - - - - - - - - - - - - - -F11 - - - - - - - - - - -AlexG12thSeptember2022 - -ToggleFull-Screenwith - +Presentationexamplewithembeddedvideo +—The +media4svg +package—AlexG23rdSeptember2022 + +PuttheWebbrowsertofullscreenwith + @@ -75,11 +48,11 @@ text.f10 {font-family:nf8;font-size:10.909088px} - + -F11 +F11 @@ -90,23 +63,23 @@ text.f10 {font-family:nf8;font-size:10.909088px} -,navigatewith - +,navigatewith + - + - - + + -PageUp +PageDn @@ -117,23 +90,23 @@ text.f10 {font-family:nf8;font-size:10.909088px} -& - +& + - + - - + + -PageDn +PageUp @@ -144,11 +117,11 @@ text.f10 {font-family:nf8;font-size:10.909088px} -,mouseclickormousewheel.Tobuildthispresentationfromthesource,run: -dvilualatexbeamer-exampledvilualatexbeamer-exampledvisvgm--bbox=papersize--font-format=woff2--zoom=-1--page=---linkmark=none\beamer-example - +,left&rightmouseclickormousewheel.Tobuildthispresentationfromthesource,run: +dvilualatexbeamer-exampledvilualatexbeamer-exampledvisvgm--bbox=papersize--font-format=woff2--zoom=-1--page=---linkmark=none\beamer-example + - + \ No newline at end of file diff --git a/macros/latex/contrib/media4svg/example/beamer-example-2.svg b/macros/latex/contrib/media4svg/example/beamer-example-2.svg index 6220dd1899..1b4b4acd48 100644 --- a/macros/latex/contrib/media4svg/example/beamer-example-2.svg +++ b/macros/latex/contrib/media4svg/example/beamer-example-2.svg @@ -3,42 +3,44 @@ -Videofile -embeddedlocalvideofilefrompackage -mwe -\includemedia[width=24em,height=13.5em]{}{example-movie.mp4} - +Videofile +Examplesofembeddedlocalvideofiles.Recommendedfileformatsare +mp4/h264 +, +webm +and +ogg +.SomeWebbrowsersrequirethevideotobeexplicitlymutedinordertoautoplay. +\includemedia[width=26em,height=14.625em]{}{example-movie.mp4}\includemedia[width=19.5em,height=14.625em,loop,autoplay,muted]{}{random.mp4} + - - -