Skip to content

Instantly share code, notes, and snippets.

@imcodingideas
Created July 22, 2020 20:38
Show Gist options
  • Save imcodingideas/d96c8d23687d23b31410cc8c84f1eabe to your computer and use it in GitHub Desktop.
Save imcodingideas/d96c8d23687d23b31410cc8c84f1eabe to your computer and use it in GitHub Desktop.
<style type="text/css">
.video-wrapper {
display: none;
}
@media (-webkit-min-device-pixel-ratio: 0) and (min-device-width:1024px) {
.video-wrapper {
display: block!important;
}
.video-fallback {
display: none!important;
}
}
@supports (-webkit-overflow-scrolling:touch) and (color:#ffffffff) {
div[class^=video-wrapper] {
display: block!important;
}
div[class^=video-fallback] {
display: none!important;
}
}
#MessageViewBody .video-wrapper {
display: block!important;
}
#MessageViewBody .video-fallback {
display: none!important;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment