Using ACF Custom Field value in a URL with do_shortcode() [closed]

Simply you need to replace the_field('video') with get_field('video').

Why?

Because according to ACF documentation;

get_field($field_name, $post_id, $format_value)

Returns the value of the specified field.

Whereas on the other hand

the_field($field_name, $post_id)

Displays the value of the specified field. (this is the same as “echo get_field($field_name)”)

Hope this might help others as well.