Exemple #1
0
 public static string CombimeVideoPictureKey(this long bcId, int userId, CommonEnums.eVideoPictureTypes type)
 {
     return
         ($"{userId}/{bcId}/{(type == CommonEnums.eVideoPictureTypes.Still ? Constants.VIDEO_STILL_NAME : Constants.VIDEO_THUMB_NAME)}.jpg");
 }
Exemple #2
0
 public static string CombimeVideoUrl(this long bcId, int userId, CommonEnums.eVideoPictureTypes type)
 {
     return
         ($"https://courses-videos-prod.beame.io/{userId}/{bcId}/{(type == CommonEnums.eVideoPictureTypes.Still ? Constants.VIDEO_STILL_NAME : Constants.VIDEO_THUMB_NAME)}.jpg");
 }