Click to See Complete Forum and Search --> : real player and window media player files


Nulrick
10-02-2003, 01:07 PM
How do you incorporate a real player file and a windows media file in an HTML page?

I've written it like below, but when I click on the button to view it, it says it can't find the plug-in or it doesn't recognize the file type:



<EMBED SRC="crystalvid04.rm" BGCOLOR="#ffffff" WIDTH=322 HEIGHT=258 PLUGINSPAGE="http://www.real.com/realone/?src=realplayer" AUTOPLAY="TRUE" VOLUME="100">


<EMBED SRC="crystalvid04.wmv" BGCOLOR="#ffffff" WIDTH=322 HEIGHT=258 PLUGINSPAGE="http://www.microsoft.com/windows/windowsmedia/download/default.asp" AUTOPLAY="TRUE" VOLUME="100">

96turnerri
10-03-2003, 11:00 AM
try this

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="mp_2321753863" width="300" height="46"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
standby="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject" >
<param name="AllowChangeDisplaySize" value="0">
<param name="AutoRewind" value="1">
<param name="Autosize" value="1">
<param name="AutoStart" value="1">
<param name="Balance" value="0">
<param name="BufferingTime" value="3">
<param name="ClickToPlay" value="1">
<param name="DisplaySize" value="4">
<param name="EnableContextMenu" value="1">
<param name="EnableFullScreenControls" value="1">
<param name="EnableTracker" value="1">
<param name="Filename" value=".\media\mp_new_page_1_1.asx">
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="ShowControls" value="1">
<param name="ShowAudioControls" value="1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="0">
<param name="ShowStatusBar" value="0">
<param name="ShowTracker" value="1">
<param name="VideoBorderColor" value="0">
<param name="VideoBorderWidth" value="0">
<param name="Volume" value="-500">
<EMBED TYPE="application/x-mplayer2"
PLUGINSPAGE="http://microsoft.com/windows/mediaplayer/en/download/"
ID=MediaPlayer
Name="mp_2321753863"
Width="300"
Height="46"
Src=".\media\mp_new_page_1_1.asx"
AutoSize="1"
AutoStart="1"
ClickToPlay="1"
DisplaySize="0"
EnableContextMenu="1"
EnableFullScreenControls="1"
EnableTracker="1"
Mute="0"
PlayCount="1"
ShowControls="1"
ShowAudioControls="1"
ShowDisplay="0"
ShowGotoBar="0"
ShowPositionControls="0"
ShowStatusBar="0"
ShowTracker="1"
>
</EMBED>
</object>

Nulrick
10-04-2003, 09:34 PM
Great!

This created the windows media file that I needed. but the controls are in a separate pop-up than the actual video.. how can I have it look like a standard wmv file? controls and clip all in one screen?

Also, do you know how to put a real player file in an HTML page?

thanks for your help!!

96turnerri
10-05-2003, 09:22 AM
where have you placed the code that has been posted above?, im not sure how to put a real player in page, but i can find out 4 u

Nulrick
10-05-2003, 02:11 PM
Thanks! i got your code to work right.. but YES! if you are able to let me know how to do the same for a real player file, that would be awsome.

thanks!!!

96turnerri
10-05-2003, 03:24 PM
<embed SRC="http://www.XXXX.com/1.rm"
WIDTH="240" HEIGHT="185"CONTROLS="ImageWindow" CONSOLE="one"
MAINTAINASPECT="true" >
<br>
<embed SRC="http://www.XXXX.com/1.rm"
WIDTH="240" HEIGHT="20" CONTROLS="ControlPanel" CONSOLE="one" AUTOSTART="false">

<noembed><a href="http://www.XXXX.com/1.rm">
Play Using Helper Application</a></noembed>

Nulrick
10-07-2003, 12:01 PM
thanks for all of your useful info.. you've been great.. one more question for you.. I've been testing my Windows Media File on a Mac and on a PC neither of which had Windows Media Player installed, so I went to:

http://www.microsoft.com/windows/windowsmedia/download/default.asp

and i downloaded version 9 for both a mac and a pc.

afterwards, only the audio plays back on the mac.. no video. The PC just freezes up.

any clue as to why?


here's my code:

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="mp_2321753863" width="300" height="46"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
standby="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject" >
<param name="AllowChangeDisplaySize" value="0">
<param name="AutoRewind" value="1">
<param name="Autosize" value="1">
<param name="AutoStart" value="1">
<param name="Balance" value="0">
<param name="BufferingTime" value="3">
<param name="ClickToPlay" value="1">
<param name="DisplaySize" value="4">
<param name="EnableContextMenu" value="1">
<param name="EnableFullScreenControls" value="1">
<param name="EnableTracker" value="1">
<param name="Filename" value="crystalvid04.wmv">
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="ShowControls" value="1">
<param name="ShowAudioControls" value="1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="0">
<param name="ShowStatusBar" value="0">
<param name="ShowTracker" value="1">
<param name="VideoBorderColor" value="0">
<param name="VideoBorderWidth" value="0">
<param name="Volume" value="-500">

<EMBED TYPE="application/x-mplayer2"
PLUGINSPAGE="http://microsoft.com/windows/mediaplayer/en/download/"
ID=MediaPlayer
Name="mp_2321753863"
Width="300"
Height="46"
Src="crystalvid04.wmv"
AutoSize="1"
AutoStart="1"
ClickToPlay="1"
DisplaySize="0"
EnableContextMenu="1"
EnableFullScreenControls="1"
EnableTracker="1"
Mute="0"
PlayCount="1"
ShowControls="1"
ShowAudioControls="1"
ShowDisplay="0"
ShowGotoBar="0"
ShowPositionControls="0"
ShowStatusBar="0"
ShowTracker="1"
>
</EMBED>


</object>

Robert Wellock
10-07-2003, 12:07 PM
The classid or codebase value, it could be any number of reasons... I thought only RealPlayer played *.rm files perhaps a link to the actual page maybe of use.

Nulrick
10-07-2003, 02:19 PM
Here's the link (hope you don't mind the content..gotta be open-minded to get the clients!)

http://newweb.rnktel.com/designdrafts/TheAxxessCard/indexstraight.html


clilck on the "Free Video clip" in the upper right corner

Nulrick
10-07-2003, 02:21 PM
the code I sent you was for the windows media player HTML page.. not the Real Player page. I have a separate page for each.. by the way, I tried the code above for real player and it didn't work.. where did you grab it from?

Robert Wellock
10-08-2003, 10:39 AM
I am open-minded but you could have put a warning in brackets by the link (adult orientated link not suitable for under 18's) just in case some of the younger members clicked on the link by accident.

As it so happens I am within a public building.
So unfortunately I cannot… without getting into trouble… or arousing unwanted attention.

It would have helped if you had just given the URI values of … /straightvideowmv.html and …/straightvideoquicktime.html then I could look at the code rather than having to view the Flash.

The movie *.wmv movie was playing but you gave it a height of 46 pixels so it might be your machine that is at fault.

Nulrick
10-09-2003, 09:43 AM
I am so sorry! I hope I didn't cause you any trouble! i will take your suggestion from now on.

Anyway here is the code for the REAL PLAYER page:

<HTML>

<HEAD>

<TITLE>THE AXXESS CARD</TITLE>

</HEAD>





<BODY bgcolor="#6699FF" MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" TOPMARGIN="0">


<TABLE border=0 cellpadding=0 cellspacing=0>

<TR>

<TD align=center>
<img src="images/logo2.jpg">
</TD>

</TR>


<TR>

<TD align=center valign=top>



<embed name=player
width='345'
height='285'
src='equestiancowboys005.rm'
type='audio/x-pn-realaudio-plugin'
allowchangedisplaysize='1'
allowscan'0'
animationatstart='0'
autostart='true'
clicktoplay='0'
enabled='1'
showcontrols='1'
showgotobar='0'
showstatusbar='1'
transparentatstart='0'
allowscan='0'
clicktoplay='0'
console=ONE
controls=ImageWindow
nojava='true'>
</embed>



</TD>

</TR>



<TR>

<TD ALIGN=CENTER VALIGN=CENTER>

<BR>

<FONT FACE="VERDANA, ARIAL" SIZE="2">
<A Href="newmemberprompt.html" Target="_self">BECOME A MEMBER</A>
</FONT>

<BR>
<BR>
<FONT FACE="VERDANA, ARIAL" SIZE="2">
<A HREF="http://forms.real.com/real/player/blackjack.html?dc=106105104&lang=en&loc=us&src=downloadr,100103realhome_mac1_2_2_1_1" target="_blank">Download Real Player</A>
</FONT>
</TD>

</TR>

</TABLE>


</BODY>


</HTML>



and here is the code for the windows media file page:


<HTML>

<HEAD>

<TITLE>THE AXXESS CARD</TITLE>

</HEAD>





<BODY bgcolor="#6699FF" MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" TOPMARGIN="0">

<TABLE border=0 cellpadding=0 cellspacing=0>


<TR>


<TD align=center>
<img src="images/logo2.jpg">
</TD>

</TR>

<TR>

<TD align=left valign=top>

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="mp_2321753863" width="300" height="46"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=9,6,4,5,715"
standby="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject" >
<param name="AllowChangeDisplaySize" value="0">
<param name="AutoRewind" value="1">
<param name="Autosize" value="1">
<param name="AutoStart" value="1">
<param name="Balance" value="0">
<param name="BufferingTime" value="3">
<param name="ClickToPlay" value="1">
<param name="DisplaySize" value="4">
<param name="EnableContextMenu" value="1">
<param name="EnableFullScreenControls" value="1">
<param name="EnableTracker" value="1">
<param name="Filename" value="equestiancowboys005.wmv">
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="ShowControls" value="1">
<param name="ShowAudioControls" value="1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="0">
<param name="ShowStatusBar" value="0">
<param name="ShowTracker" value="1">
<param name="VideoBorderColor" value="0">
<param name="VideoBorderWidth" value="0">
<param name="Volume" value="-500">

<EMBED TYPE="application/x-mplayer2"
PLUGINSPAGE="http://microsoft.com/windows/mediaplayer/en/download/"
ID=MediaPlayer
Name="mp_2321753863"
Width="300"
Height="46"
Src="equestiancowboys005.wmv"
AutoSize="1"
AutoStart="1"
ClickToPlay="1"
DisplaySize="0"
EnableContextMenu="1"
EnableFullScreenControls="1"
EnableTracker="1"
Mute="0"
PlayCount="1"
ShowControls="1"
ShowAudioControls="1"
ShowDisplay="0"
ShowGotoBar="0"
ShowPositionControls="0"
ShowStatusBar="0"
ShowTracker="1"
>
</EMBED>


</object>


</TD>

</TR>



<TR>

<TD ALIGN=CENTER VALIGN=CENTER>

<BR>

<FONT FACE="VERDANA, ARIAL" SIZE="2">
<A Href="newmemberprompt.html" Target="_self">BECOME A MEMBER</A>
</FONT>

<BR>
<BR>

<FONT FACE="VERDANA, ARIAL" SIZE="2">
<A HREF="http://www.microsoft.com/windows/windowsmedia/download/default.asp" target=_blank>Download Windows Media Player</A>
</FONT>
</TD>

</TR>

</TABLE>


</BODY>


</HTML>



again, i am truly sorry!