Merge pull request #1954 from dmitrylyzo/show-subtitles-please

Fix subtitles display on Tizen 2.x
This commit is contained in:
dkanada 2020-09-29 17:48:39 +09:00 committed by GitHub
commit 8cfb3fa396
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,11 @@
order: -1;
}
video::-webkit-media-controls {
/* Controls are enabled for devices that don't support autoplay. They will be hidden when playback starts.
In Tizen 2.3 (and probably other old web engines), subtitles are located under '-webkit-media-controls' tree.
Therefore, we hide controls only if they are enabled.
*/
video[controls]::-webkit-media-controls {
display: none !important;
}