...

View Full Version : [HELP PLEASE]How can I get the URL?



schubert
10-14-2009, 12:04 PM
Hi everyone

Im pretty new with code thingy.. the problem which im facing right now is in the code below, there's a link of a movie which it's just an introduction and after that the movies start, where I can't find the link of the second movie. the only thing which is available there is just the link for the introduction clip.

I was wondering if anybody can help me how to get the URL for the movie (not the introduction).



this is link of the page
==========
http://www.iransima.ir/WinMediaPlayer.jsp?code=234580
============


this is the source
=============





<link rel='stylesheet' type='text/css' href='/MinooSoft_fa.css'>

<html>

<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-type">
<meta content="fa" http-equiv="Content-language">
<title> نمایش برنامه </title>
</head>



<script>
var
playImg = new Image;
pauseImg = new Image;
noMuteImg = new Image;
muteImg = new Image;

function loadImages() {
playImg.src = "/images/pauseBtn.jpg";
playImg.width="23";
playImg.height="19";
pauseImg.src = "/images/playBtn.jpg";
pauseImg.width="23";
pauseImg.height="19";
noMuteImg.src = "/images/noMute.jpg";
noMuteImg.width="23";
noMuteImg.height="19";
muteImg.src = "/images/mute.jpg";
muteImg.width="23";
muteImg.height="19";
}

function checkKey()
{
if ( (window.event.keyCode == 122) )
{
window.event.keyCode = 0;
return false;
}
return true;
}
</script>

<body BGCOLOR=#6B6B6B LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 OnContextMenu="return false;" onkeydown='return checkKey();' onload="loadImages()">
<TABLE WIDTH=600 height=474 BORDER=0 CELLPADDING=0 CELLSPACING=0 borderColor="black">
<TR>
<TD COLSPAN=5 width="600" height="28" background="/images/play_01.jpg">
</TD>
</TR>
<TR>
<TD COLSPAN=3 width="392" height="88" valign="top" background="/images/play_02.jpg">
</TD>
<TD ROWSPAN=2 width="190" height="355" background="/images/play_03.jpg" align="center" valign="middle">
<table border=0 dir="rtl">
<tr>
<td height="40" align="left">
<font color="#ff9900">
<img src="/images/namebarnameh.jpg" width="92" height="31"/>
</font>
</TD>
<TD height="40">
<font color="White">
مجموعه دل نوازان
</font>
</TD>
</tr>
<tr>
<td height="40" align="left">
<img src="/images/tarikhpkhash.jpg" width="92" height="31"/>
</TD>
<TD height="40">
<font color="White">
1388 / 7 / 20<br>20:45
</font>
</TD>
</tr>
<tr>
<td height="40" align="left">
<img src="/images/mozoo.jpg" width="92" height="31"/>
</TD>
<TD height="40">
<font color="White">
قسمت 15
</font>
</TD>
</tr>
<tr>
<td height="40" align="left">
<img src="/images/noebarnameh.jpg" width="92" height="31"/>
</TD>
<TD height="40">
<font color="White">
سريال
</font>
</TD>
</tr>
<tr>
<td height="40" align="left">
<img src="/images/kargardan.jpg" width="92" height="31"/>
</TD>
<TD height="40">
<font color="White">

</font>
</TD>
</tr>
<tr>
<td height="40" align="left">
<img src="/images/namkanal.jpg" width="92" height="31"/>
</TD>
<TD height="40">
<font color="White">
شبکه سه
</font>
</TD>
</tr>
<tr>
<td height="40" align="left">
<img src="/images/modatzaman.jpg" width="92" height="31"/>
</TD>
<TD height="40">
<font color="White">
32 دقیقه
</font>
</TD>
</tr>
</table>
</TD>
<TD ROWSPAN=2 width="18" height="355" background="/images/play_04.jpg">
</TD>
</TR>
<TR>
<TD ROWSPAN=3 width="26" height="358" background="/images/play_05.jpg">
</TD>
<TD WIDTH=354 HEIGHT=267 valign="top" align="center">
<OBJECT id="MediaPlayer" Width=354 Height=267
CLASSID="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"
standby="Loading Microsoft Media Player components ..."
type="application/x-oleobject">
<PARAM NAME="URL" VALUE="mms://media.iransima.ir/tv3/tv3_13880720_015.wmv">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="false">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM name="uiMode" value="none">
<PARAM name="PlayCount" value="9999">
<PARAM name="enableContextMenu" value="false">
<embed TYPE="application/x-mplayer2" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin"
Name=MediaPlayers
ShowControls=0>
</embed>
</OBJECT>
</TD>
<TD width="12" height="267" background="/images/play_07.jpg">
</TD>
</TR>
<TR height="59">
<TD COLSPAN=4 width="574" height="59" valign="top" align="left" background="/images/play_08.jpg">
<img src="/images/play_08 img.jpg" width="285" height="53" border=0 usemap="#Map">
<img name="markerImg" src="/images/marker.jpg" style="position: absolute; left: 155; top: 407px" usemap="#Marker" border=0>
<img name="volumeImg" src="/images/volumeMarker.jpg" width="8" height="16" style="position: absolute; left: 220; top: 435px" usemap="#Volume" border=0>
<img name="pauseBtn" src="/images/playBtn.jpg" width="23" height="19" style="position: absolute; left: 81; top: 418" usemap="#Pause" border=0>
<img name="mute" src="/images/noMute.jpg" width="29" height="20" style="position: absolute; left: 190; top: 429" usemap="#Mute" border=0>
</TD>
</TR>
<TR height="32" valign="top">
<TD COLSPAN=4 width="574" height="32" align="center" background="/images/play_09.jpg">
</TD>
</TR>
</TABLE>

<script>

var mouseDown = false,
mouseDown2= false;

function doPlay() {
if ( (MediaPlayer.playState==2) || (MediaPlayer.playState==1) ) {
pauseBtn.src=pauseImg.src;
MediaPlayer.controls.play();
} else {
pauseBtn.src=playImg.src;
MediaPlayer.controls.pause();
}
}
function doStop() {
MediaPlayer.controls.stop();
MediaPlayer.CurrentPosition = 0;
pauseBtn.hspace="600";
}
function doMute() {
MediaPlayer.settings.mute = !MediaPlayer.settings.mute;
if (MediaPlayer.settings.mute)
mute.src=muteImg.src;
else
mute.src=noMuteImg.src;
}
function fullScreen() {
MediaPlayer.fullScreen = true;
}
function fastRewind() {
if (MediaPlayer.controls.isAvailable('FastReverse'))
MediaPlayer.controls.fastReverse();
}
function fastForward() {
if (MediaPlayer.controls.isAvailable('FastForward'))
MediaPlayer.controls.fastForward();
}
function mouseDownOnMarker() {
mouseDown = true;
}

function handleMove() {
var mPosition = window.event.x-155-5;
if ( (mouseDown) && (window.event.x<=281) && (window.event.x>=155) ) {
if (mPosition<0)
mPosition = 0;
MediaPlayer.controls.currentPosition = (MediaPlayer.currentMedia.duration*mPosition)/126;
markerImg.hspace = mPosition;
}
}

function mouseClickOnMarker() {
mouseDown = false;
var mPosition = window.event.x-155-5;
if (mPosition<0)
mPosition = 0;
MediaPlayer.controls.currentPosition = (MediaPlayer.currentMedia.duration*mPosition)/126;
markerImg.hspace = mPosition;
}

function mouseUpOnMarker() {
mouseDown = false;
}
function mouseDownOnVolume() {
mouseDown2 = true;
}

function handleMoveVolume() {
var mPosition = window.event.x-220-5;
if ( (mouseDown2) && (window.event.x<=269) && (window.event.x>=220) ) {
if (mPosition<0)
mPosition = 0;
MediaPlayer.settings.volume = (100*mPosition)/49;
volumeImg.hspace = mPosition;
}
}

function mouseClickOnVolume() {
mouseDown2 = false;
var mPosition = window.event.x-220-5;
if (mPosition<0)
mPosition = 0;
MediaPlayer.settings.volume = (100*mPosition)/49;
volumeImg.hspace = mPosition;
}

function mouseUpOnVolume() {
mouseDown2 = false;
}

function setPositionWhilePlaying() {
markerImg.hspace = (MediaPlayer.controls.currentPosition*126)/MediaPlayer.currentMedia.duration;
setTimeout('setPositionWhilePlaying()',1000);
}
setTimeout('setPositionWhilePlaying()',1000);

MediaPlayer.settings.volume = 100;
volumeImg.hspace = 46;

</script>

<script language='JavaScript' type='text/javascript' src='stat.js'></script>
<script language='JavaScript' type='text/javascript'>
persianstat(10020555, 0); </script>

<map name="Map">
<area shape="circle" coords="66,29,20" onclick="doPlay()">
<area shape="poly" coords="98,42,91,33,93,21,99,18,106,22,110,29,112,38,110,44,103,47" onclick="doStop()">
<area shape="rect" coords="165,32,191,46" onclick="doMute()">
<area shape="rect" coords="110,10,127,21" onclick="fastRewind()">
<area shape="rect" coords="265,10,281,20" onclick="fastForward()">
<area shape="rect" coords="128,8,263,24" onclick="mouseClickOnMarker()" onmousedown="mouseDownOnMarker()" onmouseup="mouseUpOnMarker()" onmousemove="handleMove()">
<area shape="poly" coords="194,40,213,39,225,38,238,36,249,33,243,42,239,47,221,46,209,46,195,45" onmousedown="mouseDownOnVolume()" onmouseup="mouseUpOnVolume()" onmousemove="handleMoveVolume()" onclick="mouseClickOnVolume()">
<area shape="rect" coords="130,32,155,46" onclick="fullScreen()">
</map>
<map name="Marker">
<area shape="rect" coords="0,0,8,15" onmousedown="mouseDownOnMarker()" onmouseup="mouseUpOnMarker()" onmousemove="handleMove()">
</map>
<map name="Volume">
<area shape="rect" coords="0,0,8,15" onmousedown="mouseDownOnVolume()" onmouseup="mouseUpOnVolume()" onmousemove="handleMoveVolume()">
</map>
<map name="Mute">
<area shape="rect" coords="0,0,29,20" onclick="doMute()">
</map>
<map name="Pause">
<area shape="rect" coords="0,0,23,19" onclick="doPlay()">
</map>

</BODY>

</HTML>

schubert
10-14-2009, 03:15 PM
I got it... tnx



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum