Bug 282491 - Cannot play flash videos in YouTube
Summary: Cannot play flash videos in YouTube
Status: RESOLVED DUPLICATE of bug 246736
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.6.5
Platform: Mageia RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 17:54 UTC by Dimitrios Glentadakis
Modified: 2012-06-21 21:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the Youtube (371.78 KB, image/png)
2011-09-21 17:54 UTC, Dimitrios Glentadakis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitrios Glentadakis 2011-09-21 17:54:48 UTC
Created attachment 63826 [details]
Screenshot of the Youtube

Version:           4.6.5 (using KDE 4.6.5) 
OS:                Linux

Konqueror does nt play the videos in youtube. In other sites eg Dailymotion it works fine

With other browsers it works fine

Reproducible: Always

Steps to Reproduce:
Try to see a video in youtube

Actual Results:  
Black screen (in the video area, with some controls)

Expected Results:  
Play the video

OS: Linux (x86_64) release 2.6.38.8-desktop-4.mga
Compiler: gcc

flash-player-plugin11-kde-11.0.1.129-0.rc1.090611.2.mga2.nonfree
Comment 1 Dimitrios Glentadakis 2011-09-23 05:19:16 UTC
i can play youtube videos when are embedded in web sites
Comment 2 Gérard Talbot (no longer involved) 2012-01-25 23:19:43 UTC
Dimitrios,

Try

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

It works for me. I am using
KDE Platform Version: 4.8.0
Konqueror version: 4.7.97 (4.8 RC2) (with WebKit rendering engine)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic-pae i686 (32bits) 
Distribution: Kubuntu 11.10
Adobe Flash version: 11.1.102.55
here.

Gérard
Comment 3 Gérard Talbot (no longer involved) 2012-01-25 23:33:23 UTC
> Konqueror version: 4.7.97 (4.8 RC2) (with WebKit rendering engine)

Error: I wanted to say rather/instead

Konqueror version: 4.7.97 (4.8 RC2) (with KHTML rendering engine)

-----------

A thing I noticed in other bug reports (bug 246736 and bug 275184) is that 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. Konqueror is not wrong in handling those iframes, in my opinion.

Gérard

<iframe width="480" height="303" frameborder="0" allowfullscreen="" src="http://www.youtube.com/embed/1L3eeC2lJZs"></iframe>

Gérard
Comment 4 Gérard Talbot (no longer involved) 2012-01-26 23:15:35 UTC
I've edited the code for the Flash video:

I have replaced

      <param name="allowFullScreen" value="true">
      <param name="allowScriptAccess" value="always">

with

      <param name="allowFullScreen" value="false">

Dimitrios,

Can you try
http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/Bug282491-Play-Flash-Videos-Youtube.html
and indicate your results along with your

KDE Platform Version: 4.?
Konqueror version: 4.? (with ? rendering engine)
Qt Version: 4.?
Adobe Flash version: ?

Gérard
Comment 5 Dimitrios Glentadakis 2012-01-27 06:26:48 UTC
it is ok after the latest update of flash 11.2 r202

The only problem now is that the skin color of humans is blue :) but only in youtube pages. In embeded videos the color is normal

http://img401.imageshack.us/img401/8034/eldlg005.png
Comment 6 Gérard Talbot (no longer involved) 2012-01-27 18:17:46 UTC
Dimitrios,

I have added more comments in bug 246736.

I have modified

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

to only include relevant, basic parameters. So, 
allowscriptaccess, allowfullscreen, feature_embedded, version=3, rel=0, etc.
have all been removed. I also made the viewport larger and taller.

Gérard
Comment 7 Dimitrios Glentadakis 2012-01-27 18:22:48 UTC
(In reply to comment #6)
> Dimitrios,
> 
> I have added more comments in bug 246736.
> 
> I have modified
> 
> http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/Bug282491-Play-Flash-Videos-Youtube.html
> 
> to only include relevant, basic parameters. So, 
> allowscriptaccess, allowfullscreen, feature_embedded, version=3, rel=0, etc.
> have all been removed. I also made the viewport larger and taller.
> 
> Gérard

I tried again, the video plays fine , i did nt noticed any problem

Kde 4.6.5 64bit
Comment 8 Gérard Talbot (no longer involved) 2012-06-21 21:33:10 UTC

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