Is it a bug in KFlashpart?

Luciano Montanaro luciano.montanaro at consulenti.fastweb.it
Mon Aug 22 12:49:24 CEST 2005


El Lunes 22 Agosto 2005 11:58, yang.xin_cd at 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


More information about the konq-e mailing list