I am looking for a code that will make sure when a person clicks on a link that points to wmv and mpg video it will popup their video player to play the video. The wmv/mpg are already linked directly to the video but it seems for some people sometimes the wmv/mpg waits to be downloaded then plays in their browser assuming they have quicktime or something else but basically I am looking for a code that will make sure the video pops open in their video player and plays as it loads. I didn't know which part of this forum this question would go so if it is the wrong place I am sorry and would appreciate if it could be moved to the right place. I would GREATLY appreciate help to this problem I am having.
Thanks
+ Reply to Thread
Results 1 to 5 of 5
-
-
I assume from your post that you want people visiting your website to be able to automatically run video from a link. That is not possible. Browsers used to be able to automatically acquire plugins, but Eolas suit against Microsoft changed that.
Also not everyone uses the same browser. Windows versions IE 4, 5, 5.5, 6.0, Netscape, Mozilla, Opera and Apple computers using Netscape, Safari, Camino, Mozilla, Opera and IE (under OS 8-9 and OS X) and various forms of Linux all react differently.
Most websites that feature streaming media have code to probe the browser and offer advice on how to configure that browser or download a plugin that will allow the clip to play. It ain't easy any more.
Windows media is as universal as you'll get, even Mac users can play WMV's while on the web with minimal effort, though many Mac users consider it a sacrilege to install any M$ product on an Apple. -
Don't know if this will help you but here is the code for embedding a windows media player in a web page. This code embeds the player in both Internet Explorer and Netscape Navigator.
<OBJECT ID="MediaPlayer1" width=160 height=162
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase=
"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902"
standby="Loading Microsoft® Windows® Media Player components..."
type="application/x-oleobject">
<PARAM NAME="FileName" VALUE="http://webserver/path/your-file.asx">
<PARAM NAME="AutoStart" VALUE="false">
<EMBED type="application/x-mplayer2"
pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
SRC="http://webserver/path/your-file.asx"
name="MediaPlayer1"
width=160
height=162
AutoStart=false>
</EMBED>
</OBJECT>
Here are most of the available Parameters:
Parameters for the Active-X player in Internet Explorer:
<param name="ShowControls" value="1">
<param name="ShowPositionControls" value="0">
<param name="ShowAudioControls" value="1">
<param name="ShowTracker" value="1">
<param name="ShowDisplay" value="0">
<param name="ShowStatusBar" value="1">
<param name="AutoSize" value="1">
<param name="ShowGotoBar" value="0">
<param name="ShowCaptioning" value="0">
<param name="AutoStart" value="1">
<param name="AnimationAtStart" value="0">
<param name="TransparentAtStart" value="0">
<param name="AllowScan" value="1">
<param name="EnableContextMenu" value="1">
<param name="ClickToPlay" value="0">
<param name="InvokeURLs" value="1">
<param name="DefaultFrame" value="datawindow">
Parameters for the player in Netscape:
showcontrols="1" showpositioncontrols="0"
showaudiocontrols="1" showtracker="1" showdisplay="0"
showstatusbar="1"
autosize="0"
showgotobar="0" showcaptioning="0" autostart="1" autorewind="0"
animationatstart="0" transparentatstart="0" allowscan="1"
enablecontextmenu="1" clicktoplay="0" invokeurls="1"
defaultframe="datawindow">
Similar Threads
-
Question - how to make ffmpeg use mjpeg codecs when it encounters 4CC code
By bf4648 in forum Video ConversionReplies: 0Last Post: 12th Oct 2011, 16:53 -
Finding The Origin Of A Popup
By hech54 in forum ComputerReplies: 5Last Post: 27th Jun 2011, 10:40 -
how to improve my code to make better video quality?
By George2 in forum Newbie / General discussionsReplies: 6Last Post: 10th May 2009, 08:29 -
Wot the fark is this? I get this popup everytime my cursor touches a video
By jaxxboss in forum ComputerReplies: 6Last Post: 22nd Jun 2008, 09:28 -
How do I make my Samsung R150 recorder region free? I have the code to make
By charpee in forum DVD & Blu-ray RecordersReplies: 2Last Post: 26th Jan 2008, 06:10