
Recherche avancée
Autres articles (75)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (8890)
-
How to Manage User Uploaded Content and Storage
6 novembre 2014, par BenI’m building an app in PHP (Laravel 4 framework) where a teacher in their account can create a digital lesson for a student. Digital lessons can contain the following content :
- Text (text from form, .doc, .txt, .pdf, etc.)
- Images (.gif, .png, .jpg etc.)
- Video (.avi, .mov, .mp4, etc.)
- Audio (.mp3, etc.)
Raw text entered from forms can obviously be stored in the DB against the lesson_id. All the other content formats will need to be stored somewhere, where I can manage and read the files, as well as keep track of the teachers storage total as I plan to bill for storage thresholds at 5GB, 10GB etc.
On the create a lesson page, content files need to be uploaded as lesson attachments before the lesson is saved, so a teacher can visually see all the lessons content, and then hit save to create the lesson instantly.
Here’s what I’ve come up with :
-
Upload all lesson file attachments to AWS S3 to the teachers dedicated bucket, before the lesson is created. Add the teachers ID and date time to each filename.
-
Force all uploaded video / audio files to be converted to .mp4, .mp3, etc. if they are not in an iDevice friendly format or they exceed a file size limit. Use FFmpeg to do this.
-
When the lesson is saved and created, record the S3 file URL’s against the lesson ID in the DB.
-
If the lesson has not been created after a specific period of time, run a cron job to check for uploaded S3 files with no lesson and delete them.
I am unsure what is the best way to solve this problem as user uploaded content management is really new to me.
What do you think of this approach ? Can you recommend an improved or better way to solve this problem ?
-
FFMPEG install on server
23 juillet 2013, par s19k15I have an online server (shared hosting plan) in linux, i do not know a lot stuff about linux and i am trying to install ffmpeg.
I have tryied a lot of scripts but no luck.
Now i am trying to install the below script via putty.
<a href="https://github.com/heidisoft/FFMPEG-install-script-for-shared-host" rel="nofollow">https://github.com/heidisoft/FFMPEG-install-script-for-shared-host</a>
When the install was running i get this message and the installation stops...
Installation of MPlayer-1.0rc1.tar.bz2 ....... started
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1233 100 1233 0 0 7713 0 --:--:-- --:--:-- --:--:-- 7803
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mplayer.sh: line 32: cd: MPlayer-1.0rc1/: No such file or directory
mplayer.sh: line 33: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: cannot stat `etc/codecs.conf': No such file or directory
Installation of MPlayer-1.0rc1.tar.bz2 ....... Completed
Mplayer installation Failed :( , please visit the forumWhat can i do to install ??? Thanks !
-
Evolution #3092 : Gestion des contenus par lots
29 septembre 2015, par Valéry -Notons que pour la fonction "déplacement" le Plan du site amélioré http://contrib.spip.net/Plan-du-site-ameliore-4718 fait ceci (mais avec la contrainte du glisser / déposer parfois délicat à manipuler).