See this site:
http://www.planetaturbo.com/pt/player.php?ch_id=277
In the source code:
http://video.noticias.uol.com.br/player128.htmx?asxurl=/exclusivo/player-mtv.asx&vd1=mtv_cast128
asx = windows
An ASX file (Advanced Stream Redirector) is a special type of file which works closely with Windows Media asf files.
http://www.mediacollege.com/video/format/windows-media/files/asx.html
Then open this url in safari
http://video.noticias.uol.com.br/player128.htmx?asxurl=/exclusivo/player-mtv.asx&vd1=mtv_cast128
Then get the source again
Note: full of Windows WMV, WMP
It's not Flash for sure. It's wmv.
You may test it on a PC.
The problem is the secure random code. So I need that Safari launches QT7 instead QTX
.
this is the url and the random security code
.
http://video.noticias.uol.com.br//exclusivo/player-mtv.asx?vd1=mtvcast128&tk=CRhbs9n8UnR9YdQN0JpQdQcmUgibw80Ec6b9PUpEgspjbju3ckjcIx.45umCR75Ux3gpqQoC3 ..bj8NLRF
.
after a while the audio [only] starts working, but I this in a separate QT7 window
.
.
.
.
.
.
.
.
.
.
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bottommargin="0" leftmargin="0" marginheight="0" marginwidth="0" rightmargin="0" topmargin="0" bgcolor="#ffffff">
<!--
try...catch
Implemented in
JavaScript 1.4
JavaScript 1.5, NES 6.0: added multiple catch clauses (Netscape extension).
-->
<script type="text/javascript" language="JavaScript1.4">
asxurl = "http://video.noticias.uol.com.br//exclusivo/player-mtv.asx?vd1=mtv
cast128&tk=CRhbs9n8UnR9YdQN0JpQdQcmUgibw80Ec6b9PUpEgspjbju3ckjcIx.45umCR75Ux3gpqQoC3 ..bj8NLRFR" ;
mpvar = 0;
var dC = document;
var windowsmedia=new Object();
windowsmedia.installed=false;
windowsmedia.version='0.0';
// GeckoActiveXObject
var gkoaxwma=false;
if (navigator.plugins && navigator.plugins.length){
for (x=0; x<navigator.plugins.length; x++){
if (navigator.plugins[x].name.indexOf('ActiveX') != -1 && window.GeckoActiveXObject){
gkoaxwma=true;
break;
}
}
}
function AXO(id)
{
var error; var control = null;
try{
if (window.ActiveXObject && navigator.userAgent.indexOf('Win') != -1) control = new ActiveXObject(id);
else if (gkoaxwma) control = new GeckoActiveXObject(id);
} catch (error) {}
return control;
}
if (window.ActiveXObject || gkoaxwma) // IE novo ou geko
{
try{
oWMP=new AXO('WMPlayer.OCX.7');
if (oWMP){
windowsmedia.installed=true;
parseFloat(oWMP.versionInfo);
windowsmedia.version=parseFloat(oWMP.versionInfo);
if (windowsmedia.version.toString().length == 1) windowsmedia.version+='.0';
}
} catch(e) {}
}else if (navigator.plugins && navigator.plugins.length){ // Browsers antigos
for (x=0; x<navigator.plugins.length; x++){
if (navigator.plugins[x].name.indexOf('Windows Media') != -1 || navigator.plugins[x].name.indexOf('WMV') != -1){
windowsmedia.installed=true;
break;
}
}
}
windowsmedia.ver7=(windowsmedia.installed && parseInt(windowsmedia.version) >= 7) ? true:false;
if(windowsmedia.ver7){ // windows media 7 ou maior (IE)
mpvar=1;
dC.writeln('<object width="320" height="304" id="wmp" name="wmp" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" standby="Carregando..." type="application/x-oleobject">');
dC.writeln('<param name="uiMode" value="full">');
dC.writeln('<param name="autoStart" value="true">');
dC.writeln('<param name="stretchToFit" value="true">');
dC.writeln('<param name="URL" value="'
asxurl'">');
dC.writeln('</object>');
}else if(windowsmedia.installed){ // windows media 6 ou menor (IE) ou outros browsers
mpvar=2;
dC.writeln('<OBJECT width="320" height="304" ID="wmp" name="wmp" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab #Version=6,4,5,715" standby="Carregando..." TYPE="application/x-oleobject">');
dC.writeln('<PARAM NAME="FileName" VALUE="'
asxurl'">');
dC.writeln('<PARAM NAME="AutoStart" VALUE="True">');
dC.writeln('<PARAM NAME="ShowDisplay" VALUE="False">')
dC.writeln('<PARAM NAME="ShowControls" VALUE="True">');
dC.writeln('<PARAM NAME="ShowStatusBar" VALUE="True">');
dC.writeln('<PARAM NAME="StretchToFit" VALUE="True">');
dC.writeln('<PARAM NAME="ShowTracker" VALUE="True">');
dC.writeln('<embed name="wmp" ');
dC.writeln('type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/default.asp ?DispLang=br" ');
dC.writeln('filename="'
asxurl'" ');
dC.writeln('src="'
asxurl'" ');
dC.writeln('ShowControls=1 ');
dC.writeln('ShowDisplay=0 ');
dC.writeln('ShowStatusBar=1 ');
dC.writeln('ShowTracker=1 ');
dC.writeln('Stretchtofit=0 ');
dC.writeln('width=320 height=304>');
dC.writeln('</embed>');
dC.writeln('</OBJECT>');
}else{ // nao tem mediaplayer instalado
if (navigator.userAgent.indexOf("Linux")!=-1)
dC.write("<table width=400 height=360 bgcolor=black style='border:1px solid silver'><tr><td align=center><span style=color:white;font-family:verdana;font-size:12px><b>Para assistir aos vídeos no Linux é preciso<br>ter o <a href=http://www.mplayerhq.hu/ target=_blank style=color:gold>MPlayer</a> e o <a href=http://mplayerplug-in.sourceforge.net/ target=_blank style=color:gold>MPlayer Plug-in</a> instalados.</b><br></span></td></tr></table>");
else
dC.write("<table width=400 height=360 bgcolor=black style='border:1px solid silver'><tr><td align=center><span style=color:white;font-family:verdana;font-size:12px><b>Para assistir aos vídeos, é preciso ter o<br>Windows Media Player instalado.</b><br><br><a href=http://www.microsoft.com/windows/windowsmedia/download/default.asp?DispLan g=br target=_blank style=color:white>Clique aqui</a> para fazer o download<br>do Windows Media Player diretamente<br>do site da Microsoft, em português.</span></td></tr></table>");
}
dC.domain = "uol.com.br"; // Deve ficar após todo e qualquer acesso a informações do browsers (até um navigator.appName apos setar o dominio para uol.com.br vai dar um erro de permissão negada no IE para mac)
function player_fullScreen(){
if(mpvar==1 && wmp.playState == 3 && document.all) { wmp.fullScreen = "true"; }
if(mpvar==2 ) { if(document.all){document.wmp.DisplaySize = 3;}else{document.wmp.DisplaySize(3);} document.wmp.Play(); }
}
</script>
<script type="text/javascript">AX_onLoad=true;</script>
<script type="text/javascript" src="http://barra.uol.com.br/b/scripts/ax-richmedia.js"></script>
</body>
</html>
<!-- mts -->
Message was edited by: Verzig
Message was edited by: Verzig
Message was edited by: Verzig