|
@@ -66,7 +66,6 @@
|
|
</button>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="player-footer-center">
|
|
<div class="player-footer-center">
|
|
- <!-- <img src="/assets/social/youtube.svg" /> -->
|
|
|
|
<span>
|
|
<span>
|
|
<span>
|
|
<span>
|
|
{{ youtubeVideoCurrentTime }}
|
|
{{ youtubeVideoCurrentTime }}
|
|
@@ -1121,6 +1120,28 @@ export default {
|
|
return new Toast("Please fill in all fields");
|
|
return new Toast("Please fill in all fields");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // const thumbnailHeight = this.$refs.thumbnailElement.naturalHeight;
|
|
|
|
+ // const thumbnailWidth = this.$refs.thumbnailElement.naturalWidth;
|
|
|
|
+
|
|
|
|
+ // if (thumbnailHeight < 80 || thumbnailWidth < 80) {
|
|
|
|
+ // saveButtonRef.handleFailedSave();
|
|
|
|
+ // return new Toast(
|
|
|
|
+ // "Thumbnail width and height must be at least 80px."
|
|
|
|
+ // );
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ // if (thumbnailHeight > 4000 || thumbnailWidth > 4000) {
|
|
|
|
+ // saveButtonRef.handleFailedSave();
|
|
|
|
+ // return new Toast(
|
|
|
|
+ // "Thumbnail width and height must be less than 4000px."
|
|
|
|
+ // );
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ // if (thumbnailHeight - thumbnailWidth > 5) {
|
|
|
|
+ // saveButtonRef.handleFailedSave();
|
|
|
|
+ // return new Toast("Thumbnail cannot be taller than it is wide.");
|
|
|
|
+ // }
|
|
|
|
+
|
|
// Youtube Id
|
|
// Youtube Id
|
|
if (
|
|
if (
|
|
this.youtubeError &&
|
|
this.youtubeError &&
|