動画を HTML フォームからブライトコーブに直接アップロードしたいと考えています。サーバーで Coldfusion 9 を実行しています。
ビデオをローカル サーバーにアップロードする手順は次のとおりです。
<cffile action="upload" nameconflict="makeunique" filefield="form.video_file" destination="#upload_path#" result="uploaded_file">
...そして、ローカルサーバーからブライトコーブに動画をアップロードする手順は次のとおりです。
<cfhttp url="#variables.apiBaseUrl#" method="post" timeout="#variables.timeout#" result="resultVar" multipart="true">
<cfhttpparam type="formfield" name="json" VALUE = "#arguments.jsonArgs#">
<cfhttpparam type="file" name="#getFileFromPath(arguments.filename)#" file="#arguments.filename#"/>
</cfhttp>
ただし、HTML フォームから Brightcove に直接ではありません。
これは可能ですか?
ありがとう!ニック