FIX: Apply video preview trick for Safari to stream only

FIX: Apply video preview trick for Safari to stream only

diff --git a/app/assets/javascripts/discourse/app/initializers/post-decorations.js b/app/assets/javascripts/discourse/app/initializers/post-decorations.js
index 9bd683c..25c3b1c 100644
--- a/app/assets/javascripts/discourse/app/initializers/post-decorations.js
+++ b/app/assets/javascripts/discourse/app/initializers/post-decorations.js
@@ -52,7 +52,7 @@ export default {
               }
             }
           },
-          { id: "safari-video-poster", afterAdopt: true }
+          { id: "safari-video-poster", afterAdopt: true, onlyStream: true }
         );
       }
     });

GitHub sha: 45ae24a1

1 Like