Frame* frame = document()->frame();
if (!frame) {
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
mediaLoadingFailed(MediaPlayer::FormatError);
return;
}
KURL url = initialURL;
if (!frame->loader()->willLoadMediaElementURL(url)) {
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
mediaLoadingFailed(MediaPlayer::FormatError);
return;
}
#endif
LOG(Media, "HTMLMediaElement::loadResource - m_currentSrc -> %s", urlForLogging(m_currentSrc).utf8().data());
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
+
if (m_sendProgressEvents)
startProgressEventTimer();
if (fastHasAttribute(mutedAttr))
m_muted = true;
updateVolume();
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
+
if (!m_player->load(url.string(), contentType))
mediaLoadingFailed(MediaPlayer::FormatError);
// FIXME: This should ASSERT isFinishedParsingChildren() instead.
if (!isFinishedParsingChildren() && !OIPF_HAS_NO_DISPLAY( m_oipfType ) )
{
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
return;
}
// Note: url is modified above by parametersForPlugin.
if (!allowedToLoadFrameURL(url))
{
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
return;
}
RefPtr<HTMLObjectElement> protect(this); // Loading the plugin might remove us from the document.
SubframeLoader* loader = document()->frame()->loader()->subframeLoader();
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
if( beforeLoadAllowedLoad && hasValidClassId() )
loader->requestObjectWithoutRenderer(this, url, getAttribute(nameAttr), serviceType, paramNames, paramValues);
- fprintf( stderr, "m_widget = %x\n", ( m_widget == 0 ) );
-
if( m_widget )
{
if( document() && document()->view() )
if (!needsWidgetUpdate() || useFallbackContent() || isImageType())
{
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
return;
}
Frame* frame = document()->frame();
if (!frame)
return false;
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
/* hbbtv Object for OIPF will be always rendered
if (equalIgnoringCase(serviceType(), "application/oipfobjectfactory")
}
if (!widget) {
- fprintf( stderr, "%s %s %d MimeType %s\n", __FILE__, __func__, __LINE__, mimeType.utf8().data() );
renderer->setShowsMissingPluginIndicator();
return false;
}
bool SubframeLoader::loadPluginWithoutRenderer(HTMLPlugInImageElement* pluginElement, const KURL& url, const String& mimeType,
const Vector<String>& paramNames, const Vector<String>& paramValues, bool useFallback)
{
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
-
if (!document()->securityOrigin()->canDisplay(url)) {
FrameLoader::reportLocalLoadFailed(m_frame, url.string());
return NULL;
return NULL;
IntSize contentSize( 0, 0 );
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
bool loadManually = document()->isPluginDocument() && !m_containsPlugins && toPluginDocument(document())->shouldLoadPluginManually();
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
RefPtr<Widget> widget = frameLoader->client()->createPlugin(contentSize,
pluginElement, url, paramNames, paramValues, mimeType, loadManually);
{
if (type.isEmpty())
{
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
return 0;
}
Vector<MediaPlayerFactory*>& engines = installedMediaEngines();
if (engines.isEmpty())
{
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
return 0;
}
if (type == applicationOctetStream()) {
if (!codecs.isEmpty())
{
- fprintf( stderr, "%s %s %d\n", __FILE__, __func__, __LINE__ );
return 0;
}
}