I'm porting cobalt release_11 (11.104700) to my STB now.
the interface SbPlayerSetBounds is not called because the cobalt not visit the video element (BoxGenerator::VisitVideoElement not called)
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:
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?