- const staticPath = ThumbnailModel.types[this.type].staticPath
- return WEBSERVER.URL + staticPath + this.filename
+ if (video.isOwned()) return WEBSERVER.URL + staticPath
+ if (this.fileUrl) return this.fileUrl
+
+ // Fallback if we don't have a file URL
+ return buildRemoteVideoBaseUrl(video, staticPath)