pdflatex, movie15 package, include Youtube URL

710 views
Skip to first unread message

BDW

unread,
Apr 5, 2012, 10:46:07 AM4/5/12
to LaTeX Users Group
Is there a way to include a Youtube video in a pdf using pdflatex with
package movie15? Movie15 cannot recognize the MIME-type of a youtube
video by its own so I set it to 'application/x-shockwave-flash'.

The following code started the buffering process but eventually the
movie could not be loaded ('Movie not loaded...'):

\includemovie[url,mimetype=application/x-shockwave-
flash,playerid=MACR_FlashPlayer]{10cm}{7cm}{http://www.youtube.com/
watch?v=kYUpkPTcqPY}

I also tried yt4pdf, but I failed to get it to work with errors in
different sty files..

Alain

unread,
Apr 11, 2012, 1:09:42 PM4/11/12
to LaTeX Users Group
I believe you should use the media9 package for that. movie15 is now
obsolete and there is an example of an embedded youtube video in the
media9 documentation : http://mirror.neu.edu.cn/CTAN/macros/latex/contrib/media9/doc/media9.pdf

Alain

unread,
Apr 12, 2012, 4:41:29 PM4/12/12
to latexus...@googlegroups.com
I thought a small example of the use of media9 (with a u3d file) could help...

Alain
model.u3d
report.pdf
report.tex

BDW

unread,
Apr 24, 2012, 6:03:49 AM4/24/12
to latexus...@googlegroups.com
Thanks Alain. This package works fine. One more question: is it possible to automatically mute the sound of the video? I found the options '&setVolume=0', '&volume=0' and '&muted=true' for flashvars which might work, but they don't. Perhaps this option is not available for youtube..

Op donderdag 12 april 2012 22:41:29 UTC+2 schreef Alain het volgende:

Alain Batailly

unread,
Apr 24, 2012, 7:52:42 AM4/24/12
to latexus...@googlegroups.com
Unfortunately I am not very familiar with the sound options of media9 for video insertion... I mostly used media9 for 3d models insertion, thus without sound.

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/latexusersgroup/-/38jUw-7fxQ4J.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.

Reply all
Reply to author
Forward
0 new messages