AnswerBun.com

How can I add a hyperlink in PDF document different from a presentation so that while clicking on that hyperlink I can jump to a video?

TeX - LaTeX Asked by Jhon Quiroga Hurtado on December 7, 2020

I am trying to embed a video from YouTube in my PDF document. I have this code on Overleaf, but the video does not load. I need to do this in a PDF document, but not using beamer, since I need to make the link for the video inside an e-book.

This is the code I am using:

documentclass[12pt,letter]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{parskip}

usepackage{graphicx}
usepackage{media9}
title{Using media9 to include video and audio files}
begin{document}

Videos and audios don't play on Overleaf! Download the PDF and open in Acrobat Reader to view. :-)


This is a YouTube video (needs an Internet connection to view):

% using a YouTube video
includemedia[
  width=0.6linewidth,height=0.3375linewidth,
  activate=pageopen,
  flashvars={
  modestbranding=1 % no YT logo in control bar
  &autohide=1 % controlbar autohide
  &showinfo=0 % no title and other info before start
  &rel=0 % no related videos after end
}
]{includegraphics[width=0.6linewidth]{Fig13}}{https://https://www.youtube.com/watch?v=0GCHzbmMZf0}
end{document}

Please, can anybody help me with this?

Add your own answers!

Related Questions

How to compile the source code of TeX

5  Asked on March 22, 2021 by user565739

   

How to change the font, axis and tick color in pgfplots

1  Asked on March 22, 2021 by weisbrja

   

Why is my background grey?

1  Asked on March 22, 2021 by fabian-bosler

 

How do I define norm delimiters?

1  Asked on March 22, 2021 by ph-tng

     

Turning off all colors and background images in beamer

1  Asked on March 22, 2021 by pavithran-iyer

     

How to format this long table?

2  Asked on March 22, 2021 by ogc

   

Diagonal Tikz patterns

1  Asked on March 21, 2021 by trieasyboid

     

Animation of a diagram with the package Smartdiagram

2  Asked on March 21, 2021 by user72653

   

How can I add a margin note right next to a table?

0  Asked on March 21, 2021 by user230754

     

Does TexPad support fontspec?

1  Asked on March 21, 2021

       

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir