Compilation error when using Media9 package
up vote
0
down vote
favorite
I am compiling this example from example link
documentclass{beamer}
usepackage{media9}
begin{document}
begin{frame}{dumb frame}
dots
end{frame}
begin{frame}{frame with sound includemedia[
label=my_sound,
width=1ex, height=1ex, transparent,
activate=pageopen, deactivate=onclick,
addresource=sound_sample.mp3,
flashvars={
source=sound_sample.mp3
&autoPlay=true
&hideBar=true
},
]{}{APlayer.swf}}
dots
end{frame}
begin{frame}{other frame}
dots
end{frame}
pdfpageattr{/AA <</O <</S/JavaScript/JS (annotRM['my_sound'].activated=false;)>> >>}
begin{frame}{frame where sound stops}
dots
end{frame}
begin{frame}{another dumb frame}
dots
end{frame}
end{document}
I am using Win7 64bit, Miktex 2.9 TeXworks with pdfLaTex compilation. I keep getting this error
("C:Program FilesMiKTeX
2.9texlatexbeamertranslatordictstranslator-theo rem-dictionarytranslator-theorem-dictionary-English.dict") No file
embed_mp3.nav.
LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not
available (Font) size <5> substituted on input line 8.
[1{C:/Users/Administrator/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
! Undefined control sequence. file_get_full_name:nN
{APlayer.swf}l_mix_file_tl
l.22 end{frame}
The log file is saved here (as it exceeded the word limit in the question)
I can successfully embed wav file using package multimedia using code
begin{center}
movie[label=show,
start=0s,height = 0cm,width = 6cm, showcontrols]{}{media/specific-information-1-of-3.wav}
end{center}
vspace{0.2cm}
begin{center}
hyperlinkmovie[play]{show}{beamerbutton{play}}
hyperlinkmovie[pause]{show}{beamerbutton{pause}}
hyperlinkmovie[resume]{show}{beamerbutton{resume}}
hyperlinkmovie[stop]{show}{beamerbutton{stop}}
end{center}
But package Media9 never worked and it kept showing the above error message.
Thank you.
beamer media9 music
|
show 4 more comments
up vote
0
down vote
favorite
I am compiling this example from example link
documentclass{beamer}
usepackage{media9}
begin{document}
begin{frame}{dumb frame}
dots
end{frame}
begin{frame}{frame with sound includemedia[
label=my_sound,
width=1ex, height=1ex, transparent,
activate=pageopen, deactivate=onclick,
addresource=sound_sample.mp3,
flashvars={
source=sound_sample.mp3
&autoPlay=true
&hideBar=true
},
]{}{APlayer.swf}}
dots
end{frame}
begin{frame}{other frame}
dots
end{frame}
pdfpageattr{/AA <</O <</S/JavaScript/JS (annotRM['my_sound'].activated=false;)>> >>}
begin{frame}{frame where sound stops}
dots
end{frame}
begin{frame}{another dumb frame}
dots
end{frame}
end{document}
I am using Win7 64bit, Miktex 2.9 TeXworks with pdfLaTex compilation. I keep getting this error
("C:Program FilesMiKTeX
2.9texlatexbeamertranslatordictstranslator-theo rem-dictionarytranslator-theorem-dictionary-English.dict") No file
embed_mp3.nav.
LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not
available (Font) size <5> substituted on input line 8.
[1{C:/Users/Administrator/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
! Undefined control sequence. file_get_full_name:nN
{APlayer.swf}l_mix_file_tl
l.22 end{frame}
The log file is saved here (as it exceeded the word limit in the question)
I can successfully embed wav file using package multimedia using code
begin{center}
movie[label=show,
start=0s,height = 0cm,width = 6cm, showcontrols]{}{media/specific-information-1-of-3.wav}
end{center}
vspace{0.2cm}
begin{center}
hyperlinkmovie[play]{show}{beamerbutton{play}}
hyperlinkmovie[pause]{show}{beamerbutton{pause}}
hyperlinkmovie[resume]{show}{beamerbutton{resume}}
hyperlinkmovie[stop]{show}{beamerbutton{stop}}
end{center}
But package Media9 never worked and it kept showing the above error message.
Thank you.
beamer media9 music
I can compile your file but obviously I do not have the mp3 file.
– marmot
yesterday
Thanks. I definitely have the mp3 file in the right folder. That's why I am puzzled as it seems no one asked this question before.
– shj37
yesterday
Compiles also fine for me (replacing the mp3 with a dummy one I had lying around). A few wild guesses to check: Can you test to rename your file tosoundsample.mp3
(without special characters like_
)? Can you test to embeded the sound outside the frametitle and instead try in the body of the frame? Which version of beamer do you have?
– samcarter
yesterday
Putlistfiles
at the top of your tex input file. And post the file list here. It can be found in the*.log
file after runningpdflatex
.
– AlexG
yesterday
@samcarter Tried both and neither worked. beamer 3.41
– shj37
yesterday
|
show 4 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am compiling this example from example link
documentclass{beamer}
usepackage{media9}
begin{document}
begin{frame}{dumb frame}
dots
end{frame}
begin{frame}{frame with sound includemedia[
label=my_sound,
width=1ex, height=1ex, transparent,
activate=pageopen, deactivate=onclick,
addresource=sound_sample.mp3,
flashvars={
source=sound_sample.mp3
&autoPlay=true
&hideBar=true
},
]{}{APlayer.swf}}
dots
end{frame}
begin{frame}{other frame}
dots
end{frame}
pdfpageattr{/AA <</O <</S/JavaScript/JS (annotRM['my_sound'].activated=false;)>> >>}
begin{frame}{frame where sound stops}
dots
end{frame}
begin{frame}{another dumb frame}
dots
end{frame}
end{document}
I am using Win7 64bit, Miktex 2.9 TeXworks with pdfLaTex compilation. I keep getting this error
("C:Program FilesMiKTeX
2.9texlatexbeamertranslatordictstranslator-theo rem-dictionarytranslator-theorem-dictionary-English.dict") No file
embed_mp3.nav.
LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not
available (Font) size <5> substituted on input line 8.
[1{C:/Users/Administrator/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
! Undefined control sequence. file_get_full_name:nN
{APlayer.swf}l_mix_file_tl
l.22 end{frame}
The log file is saved here (as it exceeded the word limit in the question)
I can successfully embed wav file using package multimedia using code
begin{center}
movie[label=show,
start=0s,height = 0cm,width = 6cm, showcontrols]{}{media/specific-information-1-of-3.wav}
end{center}
vspace{0.2cm}
begin{center}
hyperlinkmovie[play]{show}{beamerbutton{play}}
hyperlinkmovie[pause]{show}{beamerbutton{pause}}
hyperlinkmovie[resume]{show}{beamerbutton{resume}}
hyperlinkmovie[stop]{show}{beamerbutton{stop}}
end{center}
But package Media9 never worked and it kept showing the above error message.
Thank you.
beamer media9 music
I am compiling this example from example link
documentclass{beamer}
usepackage{media9}
begin{document}
begin{frame}{dumb frame}
dots
end{frame}
begin{frame}{frame with sound includemedia[
label=my_sound,
width=1ex, height=1ex, transparent,
activate=pageopen, deactivate=onclick,
addresource=sound_sample.mp3,
flashvars={
source=sound_sample.mp3
&autoPlay=true
&hideBar=true
},
]{}{APlayer.swf}}
dots
end{frame}
begin{frame}{other frame}
dots
end{frame}
pdfpageattr{/AA <</O <</S/JavaScript/JS (annotRM['my_sound'].activated=false;)>> >>}
begin{frame}{frame where sound stops}
dots
end{frame}
begin{frame}{another dumb frame}
dots
end{frame}
end{document}
I am using Win7 64bit, Miktex 2.9 TeXworks with pdfLaTex compilation. I keep getting this error
("C:Program FilesMiKTeX
2.9texlatexbeamertranslatordictstranslator-theo rem-dictionarytranslator-theorem-dictionary-English.dict") No file
embed_mp3.nav.
LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not
available (Font) size <5> substituted on input line 8.
[1{C:/Users/Administrator/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
! Undefined control sequence. file_get_full_name:nN
{APlayer.swf}l_mix_file_tl
l.22 end{frame}
The log file is saved here (as it exceeded the word limit in the question)
I can successfully embed wav file using package multimedia using code
begin{center}
movie[label=show,
start=0s,height = 0cm,width = 6cm, showcontrols]{}{media/specific-information-1-of-3.wav}
end{center}
vspace{0.2cm}
begin{center}
hyperlinkmovie[play]{show}{beamerbutton{play}}
hyperlinkmovie[pause]{show}{beamerbutton{pause}}
hyperlinkmovie[resume]{show}{beamerbutton{resume}}
hyperlinkmovie[stop]{show}{beamerbutton{stop}}
end{center}
But package Media9 never worked and it kept showing the above error message.
Thank you.
beamer media9 music
beamer media9 music
edited yesterday
asked yesterday
shj37
314
314
I can compile your file but obviously I do not have the mp3 file.
– marmot
yesterday
Thanks. I definitely have the mp3 file in the right folder. That's why I am puzzled as it seems no one asked this question before.
– shj37
yesterday
Compiles also fine for me (replacing the mp3 with a dummy one I had lying around). A few wild guesses to check: Can you test to rename your file tosoundsample.mp3
(without special characters like_
)? Can you test to embeded the sound outside the frametitle and instead try in the body of the frame? Which version of beamer do you have?
– samcarter
yesterday
Putlistfiles
at the top of your tex input file. And post the file list here. It can be found in the*.log
file after runningpdflatex
.
– AlexG
yesterday
@samcarter Tried both and neither worked. beamer 3.41
– shj37
yesterday
|
show 4 more comments
I can compile your file but obviously I do not have the mp3 file.
– marmot
yesterday
Thanks. I definitely have the mp3 file in the right folder. That's why I am puzzled as it seems no one asked this question before.
– shj37
yesterday
Compiles also fine for me (replacing the mp3 with a dummy one I had lying around). A few wild guesses to check: Can you test to rename your file tosoundsample.mp3
(without special characters like_
)? Can you test to embeded the sound outside the frametitle and instead try in the body of the frame? Which version of beamer do you have?
– samcarter
yesterday
Putlistfiles
at the top of your tex input file. And post the file list here. It can be found in the*.log
file after runningpdflatex
.
– AlexG
yesterday
@samcarter Tried both and neither worked. beamer 3.41
– shj37
yesterday
I can compile your file but obviously I do not have the mp3 file.
– marmot
yesterday
I can compile your file but obviously I do not have the mp3 file.
– marmot
yesterday
Thanks. I definitely have the mp3 file in the right folder. That's why I am puzzled as it seems no one asked this question before.
– shj37
yesterday
Thanks. I definitely have the mp3 file in the right folder. That's why I am puzzled as it seems no one asked this question before.
– shj37
yesterday
Compiles also fine for me (replacing the mp3 with a dummy one I had lying around). A few wild guesses to check: Can you test to rename your file to
soundsample.mp3
(without special characters like _
)? Can you test to embeded the sound outside the frametitle and instead try in the body of the frame? Which version of beamer do you have?– samcarter
yesterday
Compiles also fine for me (replacing the mp3 with a dummy one I had lying around). A few wild guesses to check: Can you test to rename your file to
soundsample.mp3
(without special characters like _
)? Can you test to embeded the sound outside the frametitle and instead try in the body of the frame? Which version of beamer do you have?– samcarter
yesterday
Put
listfiles
at the top of your tex input file. And post the file list here. It can be found in the *.log
file after running pdflatex
.– AlexG
yesterday
Put
listfiles
at the top of your tex input file. And post the file list here. It can be found in the *.log
file after running pdflatex
.– AlexG
yesterday
@samcarter Tried both and neither worked. beamer 3.41
– shj37
yesterday
@samcarter Tried both and neither worked. beamer 3.41
– shj37
yesterday
|
show 4 more comments
1 Answer
1
active
oldest
votes
up vote
1
down vote
Hopefully I am not misusing the space for further question again.
It is working now. I updated the following packages (though I am sure different settings should require updating different packages)
l3kernel
beamer
media9
l3packages
etoolbox
Thanks, @samcarter @AlexG @Phelype Oleinik and everyone else offerred suggestions. I learned a lot through the process.
Good to see an answer in this space :)
– samcarter
23 hours ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Hopefully I am not misusing the space for further question again.
It is working now. I updated the following packages (though I am sure different settings should require updating different packages)
l3kernel
beamer
media9
l3packages
etoolbox
Thanks, @samcarter @AlexG @Phelype Oleinik and everyone else offerred suggestions. I learned a lot through the process.
Good to see an answer in this space :)
– samcarter
23 hours ago
add a comment |
up vote
1
down vote
Hopefully I am not misusing the space for further question again.
It is working now. I updated the following packages (though I am sure different settings should require updating different packages)
l3kernel
beamer
media9
l3packages
etoolbox
Thanks, @samcarter @AlexG @Phelype Oleinik and everyone else offerred suggestions. I learned a lot through the process.
Good to see an answer in this space :)
– samcarter
23 hours ago
add a comment |
up vote
1
down vote
up vote
1
down vote
Hopefully I am not misusing the space for further question again.
It is working now. I updated the following packages (though I am sure different settings should require updating different packages)
l3kernel
beamer
media9
l3packages
etoolbox
Thanks, @samcarter @AlexG @Phelype Oleinik and everyone else offerred suggestions. I learned a lot through the process.
Hopefully I am not misusing the space for further question again.
It is working now. I updated the following packages (though I am sure different settings should require updating different packages)
l3kernel
beamer
media9
l3packages
etoolbox
Thanks, @samcarter @AlexG @Phelype Oleinik and everyone else offerred suggestions. I learned a lot through the process.
answered 23 hours ago
shj37
314
314
Good to see an answer in this space :)
– samcarter
23 hours ago
add a comment |
Good to see an answer in this space :)
– samcarter
23 hours ago
Good to see an answer in this space :)
– samcarter
23 hours ago
Good to see an answer in this space :)
– samcarter
23 hours ago
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f460234%2fcompilation-error-when-using-media9-package%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I can compile your file but obviously I do not have the mp3 file.
– marmot
yesterday
Thanks. I definitely have the mp3 file in the right folder. That's why I am puzzled as it seems no one asked this question before.
– shj37
yesterday
Compiles also fine for me (replacing the mp3 with a dummy one I had lying around). A few wild guesses to check: Can you test to rename your file to
soundsample.mp3
(without special characters like_
)? Can you test to embeded the sound outside the frametitle and instead try in the body of the frame? Which version of beamer do you have?– samcarter
yesterday
Put
listfiles
at the top of your tex input file. And post the file list here. It can be found in the*.log
file after runningpdflatex
.– AlexG
yesterday
@samcarter Tried both and neither worked. beamer 3.41
– shj37
yesterday