[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    [kde] Embed, is it ok or not
From:       Robin Rosenberg <ro.rosenberg () telia ! com>
Date:       2004-02-26 12:13:44
Message-ID: 200402261313.44728.ro.rosenberg () telia ! com
[Download RAW message or body]

Hi, 

I'm not sure if the HTML code is ok or not. It looks ok,
if so there is a konqueror bug. I've attached a simplified
copy of a script that's supposed to invoke realplayer and
some variants. The problem is a page at the Swedish Radio
at http://www.sr.se/cgi-bin/webbradio/frameset.asp

Some notes:

Shouldn't SRC be loaded relative to BASE, implicit or explicit? I added BASE in the \
document as I cannot fix the script on the server :-)

1) If TYPE="audio/x-pn-realaudio-plugin" is present the plugin does not load and I've \
set konqueror to load that type 2) if a relative URL is used it seems BASE is not \
properly handled. 

I.e. realplayer starts if I make SRC absolute and remove the TYPE attribute.

-- robin


["spelare3.html" (text/html)]

<html>
<head>
<base href="http://www.sr.se/cgi-bin/webbradio">
</head>
<title>Webbradio från Sveriges Radio .......................................</title>
<OBJECT ID="SRRealPlayer" WIDTH="297" HEIGHT="50" NAME="SRRealPlayerIE" \
CLASSID="CLSID:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" VIEWASTEXT> <PARAM NAME="SRC" \
VALUE="createram.asp?namn=rtsp://sr-rm.qbrick.com/broadcast/cluster/encoder/02038_p1.rm">
 <PARAM NAME="autostart" VALUE="true">
<PARAM NAME="Controls" VALUE="ControlPanel,StatusBar">
<!-- Page not found:
<EMBED src="createram.asp?namn=rtsp://sr-rm.qbrick.com/broadcast/cluster/encoder/02038_p1.rm" \
NAME="SRRealPlayerNS" ID="SRRealPlayer" WIDTH="297" HEIGHT="50" NOJAVA="true" \
                AUTOSTART="true" CONTROLS="ControlPanel,StatusBar">
-->

<!-- (This is the original EMBED Original) Nothing happens -->
<EMBED TYPE="audio/x-pn-realaudio-plugin" \
src="createram.asp?namn=rtsp://sr-rm.qbrick.com/broadcast/cluster/encoder/02038_p1.rm" \
NAME="SRRealPlayerNS" ID="SRRealPlayer" WIDTH="297" HEIGHT="50" NOJAVA="true" \
AUTOSTART="true" CONTROLS="ControlPanel,StatusBar">

<!-- Starts realplayer as external program
<EMBED src="http://www.sr.se/cgi-bin/webbradio/createram.asp?namn=rtsp://sr-rm.qbrick.com/broadcast/cluster/encoder/02038_p1.rm" \
NAME="SRRealPlayerNS" ID="SRRealPlayer" WIDTH="297" HEIGHT="50" NOJAVA="true" \
                AUTOSTART="true" CONTROLS="ControlPanel,StatusBar">
-->

<!-- Nothing happens
<EMBED TYPE="audio/x-pn-realaudio-plugin" \
src="http://www.sr.se/cgi-bin/webbradio/createram.asp?namn=rtsp://sr-rm.qbrick.com/broadcast/cluster/encoder/02038_p1.rm" \
NAME="SRRealPlayerNS" ID="SRRealPlayer" WIDTH="297" HEIGHT="50" NOJAVA="true" \
                AUTOSTART="true" CONTROLS="ControlPanel,StatusBar">
-->

</EMBED>
</OBJECT>
</body>
</html>



___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic