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.










share|improve this question
























  • 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 running pdflatex.
    – AlexG
    yesterday










  • @samcarter Tried both and neither worked. beamer 3.41
    – shj37
    yesterday















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.










share|improve this question
























  • 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 running pdflatex.
    – AlexG
    yesterday










  • @samcarter Tried both and neither worked. beamer 3.41
    – shj37
    yesterday













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.










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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










  • @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










  • 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 running pdflatex.
    – 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










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.






share|improve this answer





















  • Good to see an answer in this space :)
    – samcarter
    23 hours ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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

























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.






share|improve this answer





















  • Good to see an answer in this space :)
    – samcarter
    23 hours ago















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.






share|improve this answer





















  • Good to see an answer in this space :)
    – samcarter
    23 hours ago













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.






share|improve this answer












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.







share|improve this answer












share|improve this answer



share|improve this answer










answered 23 hours ago









shj37

314




314












  • 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




Good to see an answer in this space :)
– samcarter
23 hours ago


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

サソリ

広島県道265号伴広島線

Accessing regular linux commands in Huawei's Dopra Linux