public bool AllowAutoplay() { if (!AppGlobalStateManager.Current.GlobalState.GifAutoplayFeatureAvailable || this._forceDisableAutoplay || !this._isOneItem) { return(false); } return(GifsPlayerUtils.AllowAutoplay()); }
private static string GetGifDescription(DocumentHeader documentHeader) { if (GifsPlayerUtils.ShouldShowSize()) { return(documentHeader.Description); } return("GIF"); }