RFR: 8301022: Video distortion is observed while playing youtube video [v2]
Hima Bindu Meda
hmeda at openjdk.org
Thu Feb 23 06:50:10 UTC 2023
On Wed, 22 Feb 2023 12:36:44 GMT, Jay Bhaskar <jbhaskar at openjdk.org> wrote:
>> Issue: current update is breaking the rendering of media controls on youtube video playback
>> For the Webkit Gtk platform, the layout class name is returned as AdwaitaLayoutTraits
>> which is incompatible with the JAVA platform.
>> Solution: Use mediaControlsAdwaitaJavaScript and mediaControlsAdwaitaUserAgentStyleSheet
>> which is compatible with RenderThemeJava.
>> Test: After the fix, open youtube.com and play any video, mouse hover on the video area, control should come up.
>> Without the fix, open youtube.com and play any video, mouse hover on the video area, and the control
>> should come up overlapping with each other.
>
> Jay Bhaskar has updated the pull request incrementally with one additional commit since the last revision:
>
> clean up , #if PLATFORM(JAVA) not valid
Marked as reviewed by hmeda (Author).
Looks good. Tested on mac and linux. The controls are rendered properly
-------------
PR: https://git.openjdk.org/jfx/pull/1045
More information about the openjfx-dev
mailing list