Re: disable autoplay in webpage

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Mar 13, 12:14 pm, Karl <wordpr...@xxxxxxxxxxxx> wrote:
I'm asking from the perspective of a user, not a page
creator. How do I keep pages I access from automatically
blaring sound out of my speakers?

cwdjrxyz wrote:
On Mar 12, 1:05 pm, Karl <wordpr...@xxxxxxxxxxxx> wrote:
How can I set my windows media player browser plugin to display the
media player controls when a page calls for an embedded media player,
but to not play any audio until I click play?

For embedded video or audio, you write the code for the media to show
controls or not, auto start or not, etc. To give an example for wmv
video that works on most modern browsers, not just IE, here is a bit
of code I use to embed.

<div style="text-align:center">
<object data="http://www.cwdjr.net/video4/cancanmix.wvx"; type="video/x-
ms-wvx" style="width:640px; height:525px">
<param name="src" value="http://www.cwdjr.net/video4/cancanmix.wvx";
valuetype="ref" />
<param name="showcontrols" value="1" valuetype="data" />
<param name="showstatusbar" value="0" valuetype="data" />
<param name="autostart" value="0" valuetype="data" />
<param name="volume" value="0" valuetype="data" />
<param name="PlayCount" value="1" valuetype="data" />
</object>
</div>

Note that parameters are used to show controls or not, a status bar or
not, autostart or not, play count (repeats) etc. Note that I use
simple wvx playlist/redirector file that point to the actual .wmv
video files and cause the video to stream using progressive download
without having to download the full .wmv video file first.

If you have to use an embedded page that is already coded not to show
controls, the most direct method would be to re-write the page to show
controls as desired.

The code for .wma audio is much the same, except of course .wma
and .wax files are used for audio and the type would be an audio type
rather than a video type. Of course the width and height would be much
smaller because room is not needed to show an image - just enough for
the controls.

Yes some pages, despite the type of auto or video file be it embedded
or not, insist on auto starting audio which you may or may not like. I
use a Logitech wireless keyboard that has a few extra keys including
ones to mute sound, increase volume and decrease volume. If I do not
want sound, I just mute and then turn on and adjust volume with these
keys when I come to a page to which I wish to listen. Considering only
the WMP player is not enough, as many sound sources do not use that
player. For example the modern flv/swf flash videos and flash sound
now used by a lot of big sites including MySpace, Google, news
organizations etc. build a custom flash player using the swf portion
of the flv/swf file as a container file and have the video information
and/or audio information needed in flv portion of the flv/swf file.
.



Relevant Pages

  • Re: media player 11 Vista does not open automatically although sou
    ... By No Video, i mean it is not even running, but when i manually open media ... i manually open the player, at which time it starts at whatever point the ... sound is then at, so has been playing all the time? ...
    (microsoft.public.windowsmedia.player)
  • Another Spdif / P4C800E question/ loss of 5.1 sound
    ... of the video file with NO loss of 5.1 sound as indicated by the AMP's ... However if I play a MPEG2 file with AC3 in Media Player or some other ... BUT, if i dare ff or rew the video, the 5.1 sound is lost, well all sound ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Another Spdif / P4C800E question/ loss of 5.1 sound
    ... > Spdif connected to Sony AMP ... > perfectly within it's bundled player allwoing fast forwarding and rewinding ... > of the video file with NO loss of 5.1 sound as indicated by the AMP's ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Album Art in embedded WMP
    ... I'm developing a media player for my website to player audio and video media ... I have set the uiMode to 'none' to display a video display but no WMP ... Typically though, users *want* the ui controls to control volume, ...
    (microsoft.public.windowsmedia.sdk)
  • Re: how to do preloader
    ... What I want is for the video to load/buffer in the background, ... I'm streaming WMV files using media player. ... > The outer container is using position:relative to place it within the ... > Now we run into a problem: You want to display the player controls ...
    (microsoft.public.windowsmedia.player.web)