![在 Beamer 中插入来自 URL 的视频](https://linux22.com/image/467804/%E5%9C%A8%20Beamer%20%E4%B8%AD%E6%8F%92%E5%85%A5%E6%9D%A5%E8%87%AA%20URL%20%E7%9A%84%E8%A7%86%E9%A2%91.png)
我想在 Beamer 中插入来自 url 的视频,嵌入如下:
\documentclass[aspectratio=65]{beamer}
\usetheme{CambridgeUS}
\usepackage{color}
\usepackage{amsfonts}
\usepackage{comment}
\usepackage{moreverb}
%% Video stuff
\usepackage{media9}
\newcommand{\myurlshort}[2]{\href{#1}{\textcolor{gray}{\textsf{#2}}}}
%%% Start of the presentation
\title{Adding video in a beamer presentation}
\author{By \myurlshort{http://biostat.jhsph.edu/~lcollado/}{L Collado-Torres}}
\date{
December 5th, 2012
}
\begin{document}
\begin{frame}
\frametitle{Youtube video}
\includemedia[
width=7.11cm,height=4cm,
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
},
url % Flash loaded from URL
]{}{http://www.youtube.com/v/9bZkp7q19f0?rel=0}
\end{frame}
\end{document}
但是,视频无法打开,即使在 FoxReader 中也是如此。有人能帮我解决这个问题吗?(我需要使用 URL,而不是上传 mp4 档案)。