Re: disable autoplay in webpage
- From: cwdjrxyz <spamtrap2@xxxxxxxxxx>
- Date: Fri, 13 Mar 2009 10:34:32 -0700 (PDT)
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.
.
- References:
- disable autoplay in webpage
- From: Karl
- Re: disable autoplay in webpage
- From: cwdjrxyz
- Re: disable autoplay in webpage
- From: Karl
- disable autoplay in webpage
- Prev by Date: Re: disable autoplay in webpage
- Next by Date: Windows Media player 11 Now playing tab reverts to "album covers"
- Previous by thread: Re: disable autoplay in webpage
- Next by thread: SHARE MEDIA HELP
- Index(es):
Relevant Pages
|