From konq-e Mon Aug 22 10:49:24 2005 From: Luciano Montanaro Date: Mon, 22 Aug 2005 10:49:24 +0000 To: konq-e Subject: Re: Is it a bug in KFlashpart? Message-Id: <200508221249.24500.luciano.montanaro () consulenti ! fastweb ! it> X-MARC-Message: https://marc.info/?l=konq-e&m=112470781014530 El Lunes 22 Agosto 2005 11:58, yang.xin_cd@zte.com.cn escribió: > I visited some webpage including flash by konq-20030705, the flash could > not be played. But when I download the page to my local machine, the > flash could be played. I traced slotData() in kflashpart.cpp and found > that: the data.size() when visiting remote page is much smaller than that > of local visit. The data that kflashpart received is from KIO. Does this > outcome mean that KIO transforms the wrong number of data? or something > wrong with kflashpart itself? below is where I trace the data size. > > void KFlashPart::slotData( KIO::Job* /*kio_job*/, const QByteArray &data > ) { > printf("data.size()=%d\n", data.size()); > > if ( data.size() == 0 ) > return; > > if ( !m_widget->addData( data ) ) { > closeURL(); > emit canceled( i18n("Invalid data.") ); > } > } > > Is the mimetype correct for the flash file? Or maybe there is some redirection happening behind the scenes. I m'not using the flash player, most of the time, so I'm not sure. Luciano _______________________________________________ konq-e mailing list konq-e@kde.org https://mail.kde.org/mailman/listinfo/konq-e