PDA

View Full Version : Need Some Help Please



owleyes
July 8th, 2006, 08:39
Hi,

From the code below can you tell me how I would embed it into a windows media player on my site. The size of it at the moment is a little to big for me.

Here is the code:

<html>
<head>
<title>Livecast from Cellcast</title>
</head>
<body bgColor="#CCCCCC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table align="center" valign="center" width="50%" height="50%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<iframe align="center" valign="center" frameborder="0" scrolling="no" width=500 height=485 border="no" src="http://player.narrowstep.tv/skins/0018/nsp.aspx?player=Cellcastv2" marginheight="0" marginwidth="0" vspace="0"></iframe>
</td>
</tr>
</table>
</body>
</head>

Thanks in advance

krakjoe
July 8th, 2006, 09:35
I think not, it's not a media player source, that's a javascript player, doesn't seem to be a way around it....to get the js, view the source of the iframe in that page....I'm not great with js, but would assume that it's custom code, and most likely a custom codec....

If anyone else knows otherwise please say.......

ITahmed
July 8th, 2006, 11:41
Embed this code.... I hope this helps you.. :)

<p>&nbsp;</p>
<p align="center">
<object width="320" height="290"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
id="mediaplayer1">
<param name="Filename" value="http://www.Yourdomain.com/YourFilename.wmv">
<param name="AutoStart" value="True">
<param name="ShowControls" value="True">
<param name="ShowStatusBar" value="False">
<param name="ShowDisplay" value="False">
<param name="AutoRewind" value="True">
<embed
type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"
width="320" height="290" src="http://www.Yourdomain.com/YourFilename.wmv"
filename="kids.mpg" autostart="True"
showcontrols="True" showstatusbar="False"
showdisplay="False" autorewind="True"> </embed> </object>
</p>
<p align="center">&nbsp;</p>

ITahmed
July 8th, 2006, 11:42
Change YourDomain to your actual domain and Yourfile to your actual file name. :)

owleyes
July 8th, 2006, 13:16
Change YourDomain to your actual domain and Yourfile to your actual file name. :)

Hi and thanks very much I really appreciate that code it works fine for my wmv files.

Can you tell me the code in my original post again here:

<html>
<head>
<title>Livecast from Cellcast</title>
</head>
<body bgColor="#CCCCCC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table align="center" valign="center" width="50%" height="50%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<iframe align="center" valign="center" frameborder="0" scrolling="no" width=500 height=485 border="no" src="http://player.narrowstep.tv/skins/0018/nsp.aspx?player=Cellcastv2" marginheight="0" marginwidth="0" vspace="0"></iframe>
</td>
</tr>
</table>
</body>
</head>

Is there anyway to make the player smaller in the code above but at the same time keeping the streams aspect ratio the same has when i try to change it cuts off some of the video stream.

Thanks in advance.

ITahmed
July 9th, 2006, 00:19
try this.... not sure if it will work fine but worth a try. I am not the best developer or designer as it is not what i do for living :)
if this does not work you can try manipulating the width and height in the code.
:) at least it should get you in the right direction. try to keep the ratio the same .

owleyes
July 9th, 2006, 08:44
try this.... not sure if it will work fine but worth a try. I am not the best developer or designer as it is not what i do for living :)
if this does not work you can try manipulating the width and height in the code.
:) at least it should get you in the right direction. try to keep the ratio the same .

Hi, Did you forget the information for me to try :)

Thanks again :D

gimme
July 9th, 2006, 10:54
You cant embed that unless you rip the video first and then use it.

krakjoe
July 9th, 2006, 12:30
I said that already....in the second post....

owleyes
July 9th, 2006, 12:35
I would do that but it is a Live stream not recorded :)

krakjoe
July 9th, 2006, 13:14
I meant I said you couldn't embed it in any other way than the one you have already....or I can't see a way at least....