3

How can I add a hyperlink in beamer so that while clicking on that hyperlink I can jump to a video or a program code in another pdf.

  • 1
    You could use hyperref with file target or just the multimedia package with the externalviewer option for its macros. For the other pdf you need a hypertarget within it. – TeXnician Jun 26 '17 at 18:13
  • should I include some package in the preamble – malu k raj Jun 26 '17 at 18:18
7

For opening a video:

\documentclass{beamer}

\begin{document}

\begin{frame}
\href{run:/path/nameofvideo.mp4}{Click for video}
\end{frame}

\end{document}

to open a pdf on a specific page:

\documentclass{beamer}

\begin{document}

\begin{frame}
\href[page=2]{file:test.pdf}{Click for pdf}
\end{frame}

\end{document}

(to be viewed with adobe reader )

  • It works with Evince PDF reader on ubuntu 16.04. – omisson Aug 9 '18 at 8:04
  • @omisson Good to hear! – user36296 Aug 9 '18 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.