Cobalt11 's youtube 2018 Resizing Video test failed

120 views
Skip to first unread message

wei nie

unread,
Oct 25, 2017, 5:36:39 AM10/25/17
to cobalt-dev
I'm porting cobalt release_11 (11.104700) to my STB now.

when we use the cobalt open the youtube 2018 Resizing Video test page https://2018-dot-qual-e.appspot.com/scaling.html, I find the Cobalt 11 's Video Can't show.The preliminary analysis is as follows:
the interface SbPlayerSetBounds is not called because the cobalt not visit the video element (BoxGenerator::VisitVideoElement not called)

I download the https://2018-dot-qual-e.appspot.com/scaling.html to local and modify the test page, Found that the cobalt access to this page has the following problem:
1. don't support set the div css style (style="transform: scale(1.5);"), It dynamic add by the Js Script. It will resulting in BoxGenerator::VisitVideoElement not call.

2.If remove the Js Script ,the Video will animation for the keyframes css property. but the video position is not right ,for the cobalt not support the Rem Unit(kRootElementFontSizesAkaRemUnit) as the Translate's css property value: the Rem Unit will process as Pixels Unit.

3.If build the devel type ,the cobalt will dead. dead positon: file translate_function.cc (line 60)
DCHECK_EQ(kPixelsUnit, offset_as_length()->unit());

Here are the following two questions:
1. Will the youtube change the youtube 2018 "Resizing Video" test page (https://2018-dot-qual-e.appspot.com/ -> Media -> Resizing Video) or fix the above bug in cobalt11?
2. As the video 's output mode is OutputModePunchOut, video position changes animation is not very smooth, whether it can pass the youtube2018 certification test?

Blake Overman

unread,
Oct 25, 2017, 1:09:30 PM10/25/17
to wei nie, cobalt-dev
Hello Wei,

The test you reference is still undergoing internal development and has been removed from Qual-E accordingly. 

Best Regards,
Blake

You received this message because you are subscribed to the Google Groups "cobalt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cobalt-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

wei nie

unread,
Oct 26, 2017, 5:42:38 AM10/26/17
to cobalt-dev
Hi Blake,

Thx for your quick reply, the "resizeing video" page has been removed from Qual-E 's Media test case.

Best Regards,
Wei


在 2017年10月26日星期四 UTC+8上午1:09:30,Blake Overman写道:
To unsubscribe from this group and stop receiving emails from it, send an email to cobalt-dev+...@googlegroups.com.

Blake Overman

unread,
Oct 26, 2017, 2:44:03 PM10/26/17
to wei nie, cobalt-dev
Hi Wei, 

This test has been modified and should now successfully work with your cobalt port. Please reach out to your account manager or youtube...@google.com (rather than cobalt-dev) for any further questions regarding this specific test.

Best Regards,
Blake

To unsubscribe from this group and stop receiving emails from it, send an email to cobalt-dev+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages