
Signature
--- Mac:MS MVP (Francophone) ---
http://www.mvps.org - http://mvp.support.microsoft.com
MVPs are not MS employees - Les MVP ne travaillent pas pour MS
Remove "NoSpam" to e-mail me - Retirez "NoSpam" pour m'écrire
you are right Corentin.
but in the case of WMP 9, it is required by most of the applications, i
mean in general use. so i m assuming that most of the users will have
WMP 9 already installed. but there are many users who even dont know
bout Flip4Mac.
now my question is when i try to view .wmv on the browser, WMP 9 opens
a separate windows and then plays that file. so is it any way that i
can play the file inside safari browser, just like quicktime files can
be played in the browser window.
Thanks.
Lace
Corentin Cras-Méneur - 25 Jan 2006 23:21 GMT
> you are right Corentin.
>
> but in the case of WMP 9, it is required by most of the applications, i
> mean in general use. so i m assuming that most of the users will have
> WMP 9 already installed. but there are many users who even dont know
> bout Flip4Mac.
It's not like in Windows... Most people I know don;t have WMP installed
on their Mac. They usually install it when they need to sstrem some
specific content that uses one of the WM formats.
Most of the people live hapilly with QuickTime player for a very long
time.
> now my question is when i try to view .wmv on the browser, WMP 9 opens
> a separate windows and then plays that file. so is it any way that i
> can play the file inside safari browser, just like quicktime files can
> be played in the browser window.
It might be a matter of having the behavior properly set for the
corresponding MIME types. The easiest way to access these settings
nowadays is to go through the Internet Explorer preferences (changes
there will be written back to the repository the system uses for these
settings for all other browsers to use).
Corentin
WMP FAQ: http://www.cortig.net/wordpress/?page_id=30
blog on MS apps for Mac: http://www.cortig.net/wordpress

Signature
--- Mac:MS MVP (Francophone) ---
http://www.mvps.org - http://mvp.support.microsoft.com
MVPs are not MS employees - Les MVP ne travaillent pas pour MS
Remove "NoSpam" to e-mail me - Retirez "NoSpam" pour m'écrire
Neil Smith [MVP Digital Media] - 26 Jan 2006 10:34 GMT
>you are right Corentin.
>
>but in the case of WMP 9, it is required by most of the applications, i
>mean in general use. so i m assuming that most of the users will have
>WMP 9 already installed. but there are many users who even dont know
>bout Flip4Mac.
I think here's the point : You as a webmaster need to educate your
users to have this installed. In many cases that would be providing a
link to the Flip4Mac download, which is independent of having media
player.
Since you can't script WMP in a web page on Mac, but you *can* script
Quicktime on a Mac in Safari etc, you should be able to differentiate
those users being able to sucessfully play a clip from those who can't
I'll probably spend a while this weekend looking at a reliable
detection script to determine if this link can be written into the web
page at the point any installed player is loaded by the page.
Check back Monday or Tuesday to see if I get anywhere with this.
>now my question is when i try to view .wmv on the browser, WMP 9 opens
>a separate windows and then plays that file.
It shouldn't. What embedding code are you using ?
> so is it any way that i
>can play the file inside safari browser, just like quicktime files can
[quoted text clipped - 3 lines]
>
>Lace
Lace - 26 Jan 2006 21:02 GMT
Corentin, do you have any idea how can i change the MIME types for
Safari broswer? will it solve the problem?
Neil, I'm using the following code:
--------------------------------------------------------------------------------------------------------------------------------
<OBJECT ID="MediaPlayer" WIDTH=320 HEIGHT=271
CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,
4,7,1112">
<PARAM name="autoStart" value=1>
<PARAM name="filename"
value="mms://colsvr06w01m.cti.edu/LectureHigh.wmv">
<PARAM NAME="ShowControls" VALUE=1>
<PARAM NAME="ShowStatusBar" VALUE=1>
<EMBED TYPE="application/x-mplayer2"
SRC="mms://colsvr06w01m.cti.edu/LectureHigh.wmv"
NAME="MediaPlayer" WIDTH=320 HEIGHT=271
autostart="false" showcontrols="true" showstatusbar="true"></EMBED>
</OBJECT>
---------------------------------------------------------------------------------------------------------------------------------
I'll check back for the script on monday or tuesday.
Thanks guys.
Cheers.
Lace
Corentin Cras-Méneur - 26 Jan 2006 22:18 GMT
> Corentin, do you have any idea how can i change the MIME types for
> Safari broswer? will it solve the problem?
Sure, as I was saying:
> The easiest way to access these settings
> nowadays is to go through the Internet Explorer preferences (changes
> there will be written back to the repository the system uses for these
> settings for all other browsers to use).
You can also use the freeware "RCDefaultApp"
http://www.rubicode.com/Software/RCDefaultApp/
which reads and writes in what used to be called the Internet Config
Database.
It'll let you set the default app for chosen MIME types but I'm not sure
it'll let you chose whether to play the movie in the browser or in the
app.
WMV from Flip4Mac comes with a prefpane where you can chose whether you
want the file types associated with it to play in the browser or in QT
player...
Corentin

Signature
--- Mac:MS MVP (Francophone) ---
http://www.mvps.org - http://mvp.support.microsoft.com
MVPs are not MS employees - Les MVP ne travaillent pas pour MS
Remove "NoSpam" to e-mail me - Retirez "NoSpam" pour m'écrire
Neil Smith [MVP Digital Media] - 29 Jan 2006 22:00 GMT
>Corentin, do you have any idea how can i change the MIME types for
>Safari broswer? will it solve the problem?
[quoted text clipped - 20 lines]
>
>I'll check back for the script on monday or tuesday.
OK so far (9pm Sunday) I've been unable to find enough time to
completely solve this. In the meantime, here's the code I'm so far
considering "optimal", which will play the content the same way in
Firefox (Mac and PC), IE6 (PC) and Safari :
<!--[if IE]>
<object classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6"
type="application/x-oleobject" width="320" height="320"
id="MediaPlayer1">
<param name="url" value="falluja.asf" />
<param name="uimode" value="mini" />
<param name="autostart" value="true" />
<!--[if ! IE]>
<object type="video/x-ms-wmv" data="falluja.asf" width="320"
height="320" id="QTPlayer2">
<param name="src" value="falluja.asf" />
<param name="autoplay" value="true" />
<param name="autostart" value="true" />
<param name="controller" value="true" />
<param name="qtsrcdontusebrowser" value="true" />
<param name="enablejavascript" value="true" />
</object>
<![endif]-->
</object>
Obviously, change each instance of "falluja.asf" for your complete URL
to your content.
There seems to be a subtle and unexpected problem with scripting the
QT player when embedding WMV content using the Flip4Mac component. I
won't reproduce this report here, you can read it on their forums and
watch for any follow-ups there :
http://www.flip4mac.com/fusetalk/forum/messageview.aspx?catid=32&threadid=971&en
terthread=y
Inthe meantime, the code above ought not to cause any problems you've
described with the player launching separately from the web page.
There could be slight differences in the controller height between
versions, that's something to take account of when sizing the controls
at design time (WMP7-10 is 40 pixels high, WMP6.4 is a little more,
Quicktime is 16 pixels)
Ref :
http://www.apple.com/quicktime/tutorials/embed.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sd
k/playerfullscreen.asp
HTH
Cheers - Neil