Forums Issues

Get Encoded Video ID (Probably Easy)

Subscribe to Get Encoded Video ID (Probably Easy) 2 posts, 1 voice

 
Avatar smtdev 13 posts

How do I get the encoded video id? I know how to get the video_id. For example, in my “after_transfer.php” file, I have:

$video_id = $_POST[“video_id”];

However, in my ‘after_encode.php’ file, I’m not sure how to grab the “encoded video_id”. I tried:

$encode_id = $_POST[“video_id”];

but, this does not work.

I would like this because I need that variable to grab thumbnails after encoding. Can you tell me how to get the encoded video id in the “after_encode” ping?

 
Avatar smtdev 13 posts

Nevermind, I got it. I needed to use $_POST[“encoded_video_id”]

Thanks.

Forums Issues