diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/media4svg/README.txt')
-rw-r--r-- | Master/texmf-dist/doc/latex/media4svg/README.txt | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/media4svg/README.txt b/Master/texmf-dist/doc/latex/media4svg/README.txt index 6859274667e..79485e0fe22 100644 --- a/Master/texmf-dist/doc/latex/media4svg/README.txt +++ b/Master/texmf-dist/doc/latex/media4svg/README.txt @@ -1,7 +1,7 @@ ===================================== The `media4svg' LaTeX Package - Version 0.9, 2022/08/12 + Version 0.10, 2022/09/12 https://gitlab.com/agrahn/media4svg @@ -12,10 +12,10 @@ 1. Introduction =============== -This package implements an interface for embedding video and audio files in SVG -(Scalable Vector Graphics) output. SVG with embedded media is very portable, -as it is supported by all modern Web browsers across a variety of operating -systems and platforms, including portable devices. +This package implements an interface for embedding video and audio files and +the YouTube player in SVG (Scalable Vector Graphics) output. SVG with embedded +media is very portable, as it is supported by all modern Web browsers across a +variety of operating systems and platforms, including portable devices. The most portable media formats are as follows: @@ -64,8 +64,8 @@ information. 2. Example ========== -An example presentation with an embedded video file and a streamed video can be -found here: +An example presentation with an embedded local video file as well as with video +streamed from a URL and a YouTube player can be found here: http://mirrors.ctan.org/macros/latex/contrib/media4svg/example/beamer-example-1.svg @@ -90,14 +90,18 @@ 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`. The command for media inclusion is - \includemedia[<options>]{<poster text>}{<media file or URL>} + \includemedia[<options>[, url]]{<poster text>}{<media file or URL>} + +or + + \includemedia[<options>, youtube]{<poster text>}{<YT video ID>[,<YT video ID 2>[, ...]]} Command options: @@ -115,9 +119,9 @@ document instead of the media display. autoplay Media playback is started after the page has been loaded in the web browser. -Depending on their settings, browsers may refuse to autoplay audio and -video with unmuted audio. Option `muted' may need to be set as well to allow -automatically start of video playback. +Depending on their settings, browsers may refuse to autoplay multimedia with +unmuted audio. Option `muted' may need to be set as well to allow playback to +be started automatically. loop |