Reply
Visitor
doomsday
Posts: 2
Registered: ‎05-04-2012
0 Kudos

Some questions about upload a video with the media write api

I followed the PHP example for uploading a video from your documentation and everything works perfect for me.

But I want to have in my form for upload videos a text field with tags for videos.

If there's a way to do that?

And another question: if there's a limitation for upload videos? For example if user want to upload 100 videos through my form is it possible? or how i can set the limitation.

Brightcove Team
BC-Jonathan
Posts: 235
Registered: ‎09-30-2011
0 Kudos

Re: Some questions about upload a video with the media write api

Hey, take a look at this http://support.brightcove.com/en/docs/javascript-media-api-examples#update_video  Below the sample code is a link to a live example and a link to full source code that allows you to add tags on upload.

 

In terms of a cap, there is a 2GB per video cap on the media API.

Visitor
doomsday
Posts: 2
Registered: ‎05-04-2012
0 Kudos

Re: Some questions about upload a video with the media write api

Thanks for respond. but I've already saw that example that you linked me, my problem that I want to have that option to adding tags through php media api.

I'd like to have a form with: video title, description, and tags. Its not an option for my task to add the tags after someone will upload video.

Brightcove Team
BC-Jonathan
Posts: 235
Registered: ‎09-30-2011
0 Kudos

Re: Some questions about upload a video with the media write api

Okay, so we have this example, http://files.brightcove.com/update_video.html, that is Java based, but you could follow the same logic and utilize our PHP wrapper to "convert it to php".  Similarly, you could use this PHP example as a good place to start: http://support.brightcove.com/en/docs/media-write-api-php-example-upload-video

 

PHP Wrapper: http://opensource.brightcove.com/project/PHP-MAPI-Wrapper/

 

 

Thanks