Bug 275184 - Embedded Youtube videos do not show up on some sites
Summary: Embedded Youtube videos do not show up on some sites
Status: RESOLVED DUPLICATE of bug 246736
Alias: None
Product: konqueror
Classification: Applications
Component: nsplugins (show other bugs)
Version: SVN
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 07:44 UTC by András Manţia
Modified: 2012-06-21 21:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description András Manţia 2011-06-08 07:44:50 UTC
Version:           SVN (using Devel) 
OS:                Linux

Since some time (sorry, don't remember when did it started), on some sites embedded youtube videos are not visible, only a black square appears there. Right clicking on it shows that indeed, the flash plugin was not loaded at all.
 Youtube itself works.
Here is a stupid example, the last one where I noticed it:
http://homar.blog.hu/2011/06/08/smsezett_a_moziban_kidobtak

System is opensuse 11.4, 64bit, kde built from git, I use nspluginviewer without npwrapper.

Reproducible: Always
Comment 1 András Manţia 2011-06-08 07:48:20 UTC
Actually might be a duplicate of 246736, sorry for not finding it before reporting.
Comment 2 Gérard Talbot (no longer involved) 2012-01-25 23:24:58 UTC
Right now, there are several bug reports on embedded flash video from YouTube. Can you try

http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/Bug282491-Play-Flash-Videos-Youtube.html

Gérard
Comment 3 Janek Bevendorff 2012-06-18 19:27:30 UTC
Please check if this issue is still valid for Konqueror 4.8.4 or later.
Comment 4 Gérard Talbot (no longer involved) 2012-06-20 21:05:11 UTC
Janek,

When I load
http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/Bug282491-Play-Flash-Videos-Youtube.html
in Konqueror 4.8.4 which is using the KHTML rendering engine, I can view/play/replay the video. No problem.

The problem with people using Konqueror 4.7+ using the KHTML rendering engine is most likely because the code of the webpage having an YouTube video uses an <iframe> and not an <object>.

This is what we've been discussing in bug 246736 and bug 282491.

{
an iframe is designed to embed *by default* another HTML document. Now, if the embedded object does not have mimeType text/html, then it should be specified. And the code does not specify type="application/x-shockwave-flash". So, a compliant HTML4 web browser should render a filled black rectangular area instead of playing the video.
}
https://bugs.kde.org/show_bug.cgi?id=282491#c3

but then, in HTML5, an iframe is not restricted to embed another HTML document. So, there may be an *HMTL5 bug* here after all.

Ideally, all 3 bug reports {bug 282491, bug 275184 and bug 246736} should merge, should be merged into 1 single bug report with a clear description, reduced testcase, expected and actual results.

If we use an <object> and if the code specifies the mimeType with type="application/x-shockwave-flash", then Konqueror 4.8.4 with the KHTML rendering engine will dis-|re-|play the YouTube videos accordingly.

I am using
KDE Platform Version: 4.8.4
Konqueror version: 4.8.4 (with KHTML rendering engine)
Qt Version: 4.8.1
Flash version: 11.2.202.236 (visit http://www.adobe.com/software/flash/about/ )
Operating System: Linux 3.2.0-25-generic-pae i686 (32bits)
Distribution: Kubuntu 12.04 LTS
here.

Gérard
Comment 5 Myriam Schweingruber 2012-06-21 10:19:47 UTC
In other words: Confirmed or Solved or a duplicate of bug 246736?
Comment 6 Gérard Talbot (no longer involved) 2012-06-21 21:02:51 UTC
Myriam,

I have created

http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/Bug246736-Play-Flash-Videos-YouTube-iframe.html

as a reduced testcase for bug 275184 and bug 246736. So, yes, we can resolve this bug as a DUPLICATE of bug 246736 for now. The dimensions (300px wide and 150px tall) of the embedded document in the iframe is another issue and is related to this sentence:

"
if 'width' has a computed value of 'auto', but none of the conditions above are met, then the used value of 'width' becomes 300px. If 300px is too wide to fit the device, UAs should use the width of the largest rectangle that has a 2:1 ratio and fits the device instead. 
"
which applies to inline-block, replaced element in normal flow
10.3.10 'Inline-block', replaced elements in normal flow
http://www.w3.org/TR/CSS21/visudet.html#inlineblock-replaced-width

-----------

Resolving as DUPLICATE of bug 246736

Gérard

*** This bug has been marked as a duplicate of bug 246736 ***