diff --git a/locales/default.pot b/locales/default.pot
index 30510c4c3..d6183354f 100644
--- a/locales/default.pot
+++ b/locales/default.pot
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: BEdita 4 \n"
-"POT-Creation-Date: 2024-12-02 16:33:07 \n"
+"POT-Creation-Date: 2024-12-19 11:17:51 \n"
"MIME-Version: 1.0 \n"
"Content-Transfer-Encoding: 8bit \n"
"Language-Team: BEdita I18N & I10N Team \n"
@@ -112,9 +112,6 @@ msgstr ""
msgid "Cannot create abstract objects or objects without schema"
msgstr ""
-msgid "Cannot produce a thumbnail for this file"
-msgstr ""
-
msgid "Captions"
msgstr ""
@@ -610,9 +607,6 @@ msgstr ""
msgid "Open File"
msgstr ""
-msgid "Open image"
-msgstr ""
-
msgid "Open module"
msgstr ""
@@ -808,9 +802,6 @@ msgstr ""
msgid "Size"
msgstr ""
-msgid "Sorry, your browser does not support embedded {0} element"
-msgstr ""
-
msgid "State Name"
msgstr ""
@@ -844,9 +835,6 @@ msgstr ""
msgid "Temporary folder missing"
msgstr ""
-msgid "The thumbnail is not available"
-msgstr ""
-
msgid "There were errors creating the thumbnail(s)"
msgstr ""
@@ -856,9 +844,6 @@ msgstr ""
msgid "Thumb not ready: coming soon"
msgstr ""
-msgid "Thumbnail is not ready"
-msgstr ""
-
msgid "Title"
msgstr ""
@@ -970,9 +955,6 @@ msgstr ""
msgid "View file"
msgstr ""
-msgid "View original"
-msgstr ""
-
msgid "Website"
msgstr ""
@@ -1659,6 +1641,29 @@ msgstr ""
msgid "Valid"
msgstr ""
+msgid ""
+"Sorry, your browser does not support embedded {{ msg.notAcceptable }} {{ msg.notAvailable }}
+
+ {{ msg.viewOriginal }}
+
+ {{ msg.notReady }}
+
+ {{ msg.viewOriginal }}
+
+ audio element"
+msgstr ""
+
+msgid "Cannot produce a thumbnail for this file"
+msgstr ""
+
+msgid "The thumbnail is not available"
+msgstr ""
+
+msgid "The thumbnail is not ready"
+msgstr ""
+
+msgid "Open image"
+msgstr ""
+
+msgid ""
+"Sorry, your browser does not support embedded video element"
+msgstr ""
+
+msgid "View original"
+msgstr ""
+
msgid "Password"
msgstr ""
diff --git a/locales/en_US/default.po b/locales/en_US/default.po
index 49ff32e5a..4ea0e62d7 100644
--- a/locales/en_US/default.po
+++ b/locales/en_US/default.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: BEdita Manager \n"
-"POT-Creation-Date: 2024-12-02 16:33:07 \n"
+"POT-Creation-Date: 2024-12-19 11:17:51 \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: BEdita I18N & I10N Team \n"
@@ -115,9 +115,6 @@ msgstr ""
msgid "Cannot create abstract objects or objects without schema"
msgstr ""
-msgid "Cannot produce a thumbnail for this file"
-msgstr ""
-
msgid "Captions"
msgstr ""
@@ -613,9 +610,6 @@ msgstr ""
msgid "Open File"
msgstr ""
-msgid "Open image"
-msgstr ""
-
msgid "Open module"
msgstr ""
@@ -811,9 +805,6 @@ msgstr ""
msgid "Size"
msgstr ""
-msgid "Sorry, your browser does not support embedded {0} element"
-msgstr ""
-
msgid "State Name"
msgstr ""
@@ -847,9 +838,6 @@ msgstr ""
msgid "Temporary folder missing"
msgstr ""
-msgid "The thumbnail is not available"
-msgstr ""
-
msgid "There were errors creating the thumbnail(s)"
msgstr ""
@@ -859,9 +847,6 @@ msgstr ""
msgid "Thumb not ready: coming soon"
msgstr ""
-msgid "Thumbnail is not ready"
-msgstr ""
-
msgid "Title"
msgstr ""
@@ -973,9 +958,6 @@ msgstr ""
msgid "View file"
msgstr ""
-msgid "View original"
-msgstr ""
-
msgid "Website"
msgstr ""
@@ -1662,6 +1644,29 @@ msgstr ""
msgid "Valid"
msgstr ""
+msgid ""
+"Sorry, your browser does not support embedded audio element"
+msgstr ""
+
+msgid "Cannot produce a thumbnail for this file"
+msgstr ""
+
+msgid "The thumbnail is not available"
+msgstr ""
+
+msgid "The thumbnail is not ready"
+msgstr ""
+
+msgid "Open image"
+msgstr ""
+
+msgid ""
+"Sorry, your browser does not support embedded video element"
+msgstr ""
+
+msgid "View original"
+msgstr ""
+
msgid "Password"
msgstr ""
diff --git a/locales/it_IT/default.po b/locales/it_IT/default.po
index 1d717bab9..ee36ce5d2 100644
--- a/locales/it_IT/default.po
+++ b/locales/it_IT/default.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: BEdita Manager \n"
-"POT-Creation-Date: 2024-12-02 16:33:07 \n"
+"POT-Creation-Date: 2024-12-19 11:17:51 \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: BEdita I18N & I10N Team \n"
@@ -117,9 +117,6 @@ msgstr "Calendario"
msgid "Cannot create abstract objects or objects without schema"
msgstr "Impossibile creare oggetti astratti o oggetti senza schema"
-msgid "Cannot produce a thumbnail for this file"
-msgstr "Impossibile produrre una miniatura per questo file"
-
msgid "Captions"
msgstr "Sottotitoli"
@@ -616,9 +613,6 @@ msgstr "Apri"
msgid "Open File"
msgstr "Apri File"
-msgid "Open image"
-msgstr "Apri immagine"
-
msgid "Open module"
msgstr "Apri modulo"
@@ -816,9 +810,6 @@ msgstr "Accedi con {0}"
msgid "Size"
msgstr "Dimensione"
-msgid "Sorry, your browser does not support embedded {0} element"
-msgstr "Spiacenti, il tuo browser non supporta l'elemento {0} incorporato"
-
msgid "State Name"
msgstr "Provincia"
@@ -853,9 +844,6 @@ msgstr "Tag"
msgid "Temporary folder missing"
msgstr "Cartella temporanea mancante"
-msgid "The thumbnail is not available"
-msgstr "La miniatura non è disponibile"
-
msgid "There were errors creating the thumbnail(s)"
msgstr "È avvenuto un errore nella creazione delle miniature"
@@ -865,9 +853,6 @@ msgstr "Miniatura non disponibile"
msgid "Thumb not ready: coming soon"
msgstr "Miniatura non pronta: in lavorazione"
-msgid "Thumbnail is not ready"
-msgstr "La miniatura non è pronta"
-
msgid "Title"
msgstr "Titolo"
@@ -979,9 +964,6 @@ msgstr "Video"
msgid "View file"
msgstr "Vedi file"
-msgid "View original"
-msgstr "Vedi originale"
-
msgid "Website"
msgstr "Sito Web"
@@ -1679,6 +1661,31 @@ msgstr "Parametri"
msgid "Valid"
msgstr "Valido"
+msgid ""
+"Sorry, your browser does not support embedded audio element"
+msgstr ""
+"Spiacenti, il tuo browser non supporta l'elemento audio incorporato"
+
+msgid "Cannot produce a thumbnail for this file"
+msgstr "Impossibile produrre una miniatura per questo file"
+
+msgid "The thumbnail is not available"
+msgstr "La miniatura non è disponibile"
+
+msgid "The thumbnail is not ready"
+msgstr "La miniatura non è pronta"
+
+msgid "Open image"
+msgstr "Apri immagine"
+
+msgid ""
+"Sorry, your browser does not support embedded video element"
+msgstr ""
+"Spiacenti, il tuo browser non supporta l'elemento video incorporato"
+
+msgid "View original"
+msgstr "Vedi originale"
+
msgid "Password"
msgstr "Password"
diff --git a/resources/js/app/app.js b/resources/js/app/app.js
index 6baa06153..e3c227423 100644
--- a/resources/js/app/app.js
+++ b/resources/js/app/app.js
@@ -92,6 +92,7 @@ const _vueInstance = new Vue({
PlaceholderList: () => import(/* webpackChunkName: "placeholder-list" */'app/components/placeholder-list/placeholder-list'),
BarChart:() => import(/* webpackChunkName: "bar-chart" */'app/components/charts/bar-chart'),
SortRelated: () => import(/* webpackChunkName: "sort-related" */'app/components/sort-related/sort-related'),
+ MediaItem: () => import(/* webpackChunkName: "media-item" */'app/components/media-item/media-item'),
AppIcon,
},
diff --git a/resources/js/app/components/media-item/media-item.vue b/resources/js/app/components/media-item/media-item.vue
new file mode 100644
index 000000000..7cf868560
--- /dev/null
+++ b/resources/js/app/components/media-item/media-item.vue
@@ -0,0 +1,153 @@
+
+
+
+
{{ __('Cannot produce a thumbnail for this file') }}
- {% elseif thumb == constant('BEdita\\WebTools\\View\\Helper\\ThumbHelper::NOT_AVAILABLE') %} -{{ __('The thumbnail is not available') }}
-- - {{ __('View original') }} - -
- {% elseif thumb == constant('BEdita\\WebTools\\View\\Helper\\ThumbHelper::NOT_READY') %} -{{ __('Thumbnail is not ready') }}
- {% elseif thumb == constant('BEdita\\WebTools\\View\\Helper\\ThumbHelper::NO_URL') %} -- - {{ __('View original') }} - -
- {% else %} -