Skip to content

Play embedded media with xelatex #258

Discussion options

You must be logged in to vote

The \simplemedia approach by user Fritz on the stackexchange question works under XeLaTeX. It revealed there’s a bug in pympress auto-play I’ll get around to fixing later on. In the mean time this code works (I’ve made the original code a little bit denser):

\documentclass{beamer}

\usepackage{xkeyval}
\usepackage{zref-abspage}
\usepackage[bigfiles]{pdfbase}

% Written by Fritz -- https://tex.stackexchange.com/a/592827-- using Adobe PDF Reference, sixth edition, Nov. 2006
% Usage: \simplemedia[<options>]{<poster or text>}{<media file>}{MIME type}
\makeatletter
\define@boolkey{simplemedia}{autoplay}{\def\simplemediaautoplay{#1}}
\define@boolkey{simplemedia}{showGUI}{\def\simplemediashowGUI{…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@sdbuch
Comment options

@sdbuch
Comment options

Answer selected by Cimbali
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #253 on November 22, 2022 11:07.