I want create videos upload-page similar a youtube upload video page.
when I select a video I want them to appear the fields and my custom fields: (Title, description, Tags, ecc…)
Is there’s a similar plugin ?
If I wanted to create a special plugin which guide / API / action should I watch?
Sorry for my english
Start with the development of the plugin – birth from the base of the media-rating.
I call it mpp_media_filter. I create a new table in the database to add to each media the fields that interest me that the member should fill out. These fields will then be used for filters.
I will modify the upload_form page with the compilation of the youtube style fields.
After uploading the video via FFMPEG I create the thumbnail and the different resolutions (320/480/720/1080) and delete the audio track.What analogous for the images.
My apologies for the delayed reply.
This problem can be broken into a few steps.
1. Uploading the video
2. Crunching the video to extract cover and converting to playable file format
3. Using the converted video and cover and MediaPress video entry.
Since your upload strategy is very different from what we have in MediaPress, you will most probably need to handle the first 2 part yourself.
Here is how we save an uploaded file as MediaPress entry
The mpp_add_media() is used to add the media to a gallery.
what action do you call after uploading ? I do not want to change the core. I can go in edit mode after upload.
After the upload I create a call to FMPEG and then enter edit mode. Add Record in post table for the thumbnail generated and the record for converted video.
Hope you are doing well.
MediaPress 1.3.6 is available now and you can hook into any upload stage now.
Please see the reference here.
Hope it helps you to accoplish your goal.
You must be logged in to reply to this topic.