@luceosports/play-rendering 2.2.1 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/models/PlayModel.ts
CHANGED
|
@@ -123,7 +123,16 @@ export default class PlayModel {
|
|
|
123
123
|
};
|
|
124
124
|
|
|
125
125
|
const luceoSportsWatermark = await loadImage(`${STORAGE_URL}/${LUCEOSPORTS_WATERMARK_PATH}`);
|
|
126
|
-
|
|
126
|
+
|
|
127
|
+
let teamLogoWatermark = null;
|
|
128
|
+
if (teamLogoPath) {
|
|
129
|
+
try {
|
|
130
|
+
teamLogoWatermark = await loadImage(`${STORAGE_URL}/${teamLogoPath}`);
|
|
131
|
+
} catch (e) {
|
|
132
|
+
console.log('teamLogoWatermark loadImage error', e);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
127
136
|
PlayModel.watermark = {
|
|
128
137
|
LuceoSports: luceoSportsWatermark,
|
|
129
138
|
TeamLogo: teamLogoWatermark
|