Bug 152174 - Youtube fullscreen expand not full screen
Summary: Youtube fullscreen expand not full screen
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac OS X 10.11
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 152624 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-12-11 09:26 PST by webkit-bugzilla
Modified: 2016-01-04 15:19 PST (History)
3 users (show)

See Also:


Attachments
fullscreen-bug (694.02 KB, image/png)
2015-12-11 09:26 PST, webkit-bugzilla
no flags Details
Web Archive (2.91 MB, application/x-webarchive)
2016-01-04 14:52 PST, Myles C. Maxfield
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description webkit-bugzilla 2015-12-11 09:26:22 PST
Created attachment 267170 [details]
fullscreen-bug

Steps to reproduce:
1) Enter any youtube video like https://www.youtube.com/watch?v=Po74oIzEhBo

2) Start the video

3) Go to fullscreen via the youtube controls (not the html5 one)

Actual Results:
Just a part of the video get in fullscreen, the other part of the screen are still black. Also the timeline and youtube control stops in the middle. (it's hard to explain, just look at the attached screenshot)

Expected Results:
The Video should be show in the hole screen.

Build Date & Platform:
Build 2015-12-11 on Mac OS 10.11.2 (r193949) it's the official nightly build

Additional Information:
If you get in fullscreen via the html5 control, it works.
Comment 1 Myles C. Maxfield 2016-01-04 14:35:15 PST
*** Bug 152624 has been marked as a duplicate of this bug. ***
Comment 2 Myles C. Maxfield 2016-01-04 14:47:50 PST
Assuming you are able to reproduce this issue can you please save a web archive of the page and attach it to this bug. Is there any relevant output or error messages in the system log when the issue occurs? Is there any other information that you can provide to help reproduce this issue?


I'm seeing this on El Capitan 10.11.2 on r194284 (using a nightly). Non retina screen (a LED cinema display) 27" resolution of 2560 by 1440. Graphics card is a ATI Radeon HD 5770 1024 MB.

This bug occurs every time on my main work machine using https://www.youtube.com/watch?v=j3O4mulW8hw

Inspector shows the following errors:

[Error] Blocked a frame with origin "https://www.youtube.com" from accessing a frame with origin "https://plus.google.com". Protocols, domains, and ports must match.
	(anonymous function) (show_ads.js:33)
	Qb (show_ads.js:7:522)
	Ub (show_ads.js:9:588)
	(anonymous function) (show_ads.js:30:298)
	Global Code (show_ads.js:41:179)
[Error] Blocked a frame with origin "https://www.youtube.com" from accessing a frame with origin "https://plus.google.com". Protocols, domains, and ports must match.
	Uw (show_ads_impl.js:545:490)
	Vw (show_ads_impl.js:549:479)
	As (show_ads_impl.js:553:124)
	gv (show_ads_impl.js:515:326)
	Vo (show_ads_impl.js:57:516)
	Rh (show_ads_impl.js:59:602)
	(anonymous function) (show_ads_impl.js:557:221)
	Global Code (show_ads_impl.js:557:497)
[Error] Blocked a frame with origin "https://www.youtube.com" from accessing a frame with origin "https://plus.google.com". Protocols, domains, and ports must match.
	ii (show_companion_ad.js:119:445)
	pq (show_companion_ad.js:379:359)
	vt (show_companion_ad.js:472:118)
	Fs (show_companion_ad.js:473:347)
	Ks (show_companion_ad.js:458:205)
	Ws (show_companion_ad.js:463:467)
	Zs (show_companion_ad.js:465:106)
	bu (show_companion_ad.js:487:377)
	K2 (base.js:2544:89)
	(anonymous function) (base.js:5151:167)
	k (base.js:265:97)
[Error] Blocked a frame with origin "https://googleads.g.doubleclick.net" from accessing a frame with origin "https://www.youtube.com". Protocols, domains, and ports must match.
	Za (ads:5:37019)
	(anonymous function) (ads:5:42954)
	e (ads:5:35884)
	Ta (ads:5:35923)
	Rb (ads:5:42940)
	(anonymous function) (ads:5:30665)
	ma (ads:5:30441)
	(anonymous function) (ads:5:30635)



System log shows these messages (I'm not sure if they are relevant)
1/4/16 2:46:38.329 PM WindowServer[214]: CoreAnimation: timed out fence 27817
1/4/16 2:46:38.838 PM WindowServer[214]: disable_update_timeout: UI updates were forcibly disabled by application "Safari" for over 1.00 seconds. Server has re-enabled them.
1/4/16 2:46:38.849 PM WindowServer[214]: common_reenable_update: UI updates were finally reenabled by application "Safari" after 1.03 seconds [0.98fps] (server forcibly re-enabled them after 1.01 seconds [1.00fps])
Comment 3 Myles C. Maxfield 2016-01-04 14:52:19 PST
Created attachment 268238 [details]
Web Archive
Comment 4 Myles C. Maxfield 2016-01-04 15:05:49 PST
The <video> element has width and height specified in CSS in absolute pixel coordinates. Changing the pixel size in CSS makes the video size correctly.
Comment 5 Myles C. Maxfield 2016-01-04 15:19:06 PST
(In reply to comment #4)
> The <video> element has width and height specified in CSS in absolute pixel
> coordinates. Changing the pixel size in CSS makes the video size correctly.

YouTube knows about this bug and it is being tracked internally. They say it will be fixed on their end.