I tried all kinds of variations (including \texthebrew{} in the button labels), 
but not this!

I guess the \textenglish{} wrappers keep things tidy, somehow?

Thanks so much.

K

From: David Carlisle <d.p.carli...@gmail.com<mailto:d.p.carli...@gmail.com>>
Reply-To: "xetex@tug.org<mailto:xetex@tug.org>" 
<xetex@tug.org<mailto:xetex@tug.org>>
Date: Friday, April 24, 2015 at 11:07
To: "xetex@tug.org<mailto:xetex@tug.org>" <xetex@tug.org<mailto:xetex@tug.org>>
Subject: Re: [XeTeX] Media9 buttons in RTL text

\documentclass{article}
\usepackage{libertine,media9,polyglossia}
\setdefaultlanguage[variant=british]{english}
\setotherlanguage[]{hebrew}

\begin{document}
\marginpar{\includemedia[
  label=song49,
  activate=pagevisible,
  deactivate=pageinvisible,
  noplaybutton,
  flashvars={source=http://www.kfeuerherm.ca/IntHeb/BBE.mp3&hidebar=true},
  transparent
]{\makebox[1cm]{x}}{APlayer.swf}\mediabutton[mediacommand=song49:playPause,tooltip={Play/Pause}]{(P)}\mediabutton[mediacommand=song49:play[(0.0)],tooltip={Reset}]{(R)}}

\begin{hebrew}
\textenglish{\mediabutton[
  mediacommand=song49:play[(0.65)],
  mediacommand=song49:pause[(1.45)],
  overface=ONE
]{\texthebrew{בראשׁית}}}
\textenglish{\mediabutton[
  mediacommand=song49:play[(1.8)],
  mediacommand=song49:pause[(2.45)],
  overface=TWO
]{\texthebrew{ברא}}}
\textenglish{\mediabutton[
  mediacommand=song49:play[(2.8)],
  mediacommand=song49:pause[(3.8)],
  overface=THREE
]{\texthebrew{אלהים}}}
\end{hebrew}

\end{document}

--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to