Folks,
I have filed a problem with [WebFrame loadHTMLString:baseURL] with Bug
ID# 4092947. Perhaps somebody can shed some light? Thanks.
--Simon Liu
SUMMARY:
WebFrame -loadHTMLString:baseURL: is broken and does not cause
RealPlayer Internet Plug-In to appear on a web page.
STEPS TO REPRODUCE:
Given a HTML web page with embedded media:
<html>
<head></head>
<body>
<embed src="http://www.kqed.org/streamingfiles/kqed_real.ram"
type="audio/x-pn-realaudio-plugin"
pluginspage="http://www.apple.com/downloads/macosx/internet_utilities/realoneplayerx.html"
console=myconsole controls=All width=375 height=100 autostart=true nojava=true/>
</body>
</html>
Given a WebFrame, invoke method -loadHTMLString:baseURL: to cause the
WebFrame to load the HTML data and display it.
EXPECTED RESULTS
RealPlayer Internet Plug-In appears on web page and streams audio.
ACTUAL RESULTS
Nothing appears on the web page.
REGRESSION
10.3.0-8 Always works
10.3.9 Never works
NOTES
If the HTML data above is saved to a file and loaded into Safari or
any other WebKit based browser, it displays correctly.
If the WebFrame method -loadRequest: is used to load the HTML file
from disk, it also displays correctly.
I tried using similar HTML but with an embedded QuickTime stream, and
it too fails to display when using -loadHTMLString:baseURL. On
10.3.8, it displays correctly.
WHAT MAY BE WRONG
Either:
1. The implementation of -loadHTMLString:baseURL: is not sending
events to the Internet plug-in to make it appear/active, but when
using -loadRequest:, the event is sent.
2. This is a deliberate change of behaviour and has not been
documented, or has not yet been publicised.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden
This email sent to email@hidden