If you need to embed a YuJa video into a homework assignment submission, you'll need to open the "Write Submission" text box.
You'll find the button that opens this at the top of the Assignment Submission section of your assignment.