help! no sound in windows XP when Saved For Web

  • Thread starter Thread starter Anil Philip
  • Start date Start date
A

Anil Philip

Hello,
When I 'Save For Web' (NOT single web page) with the options No Transition
and also No Animation, record a narration for the slide and try to bring up
the html in the browser, there is no sound when I click the speaker icon
button.
Windows XP SP2, Powerpoint 2003.
any advice?
thanks,
Anil
 
The narrations were saved as Linked, not embedded.
Unfortunately, it seems that Windows XP does not play audio when you click
the Narration 'speaker' button - when your PPT option is No slide transition
and No Animation when you Save For Web (details in earlier post). It works
on Windows 98 with the Office animation Runtime. Looking through script.js
that is generated, I find the bug in ToggleVNarration(), the code that used
to say
if(rObj.playstate) & !g_anim...
this condition becomes true!

where rObj is the document("NSPlay") is for Netscape and pre-IE5.5 browsers.
this is ridiculous! such an obvious bug!
Does anyone know how to report it to M$?
I am sorely disappointed too, that on this newsgroup, there do not seem to
be any M$ employees (developers) who would know the code and package
internals to be able to help.
thanks,
Anil Philip
 
Thanks for the link - but the article advertises another product PPT2HTML. I
would like to be able to fix this problem in PPT html generation...
 
You can repost it here as a Suggestion to Microsoft. Just click on the drop
down arrow next to the word NEW.

Glenna
 
I used the following workaround - which seems to work, need more testing but
is a kludge - can anyone come up with something better?
* We try to play and quickly stop the NSPlay audio object. Windows XP (at
least) does not
* support it. method Play() will throw an exception. We use this to set the
boolean flag
* isNSPlaySupported. Preferably, this method should be called by the very
first narration slide only.
* In the HTML slide, <script>g_supportsNSPlay = SupportsNSPlay()</script>
thanks,
Anil Philip
---
for good news go to http://members.tripod.com/~goodnewsforyou/goodnews.html

========
function ToggleVNarration()
{
rObj=PPTSld.document.all("NSPlay")
if( rObj && !PPTSld.g_animUseRuntime && g_supportsNSPlay/*NEW TEST*/) {
if( (rObj.playState == 1)||(rObj.playState == 0) )
rObj.Play()
else if( rObj.playState == 2 )
rObj.Pause()
else
return;
}
else if( PPTSld.g_animUseRuntime )
{
narObj = PPTSld.document.all("narrationID")
if( narObj )
narObj.togglePause()
}
}

var g_supportsNSPlay = false; //NEW VARIABLE

/* NEW FUNCTION - Anil Philip
* We try to play and quickly stop the NSPlay audio object. Windows XP (at
least) does not
* support it. method Play() will throw an exception. We use this to set the
boolean flag
* isNSPlaySupported. Preferably, this method should be called by the very
first narration slide only.
*/
function SupportsNSPlay()
{
rObj=parent.PPTSld.document.all("NSPlay");
try {
rObj.Play();
rObj.Stop();
} catch(e) {
return false;
}
return true;
}
 
Back
Top