Batch embed video files to html files (with Automator?)
You can accomplish this easily with a short shell script:

#!/bin/bash

for v do
    base=${v%%.mp4}
    cat &gt;&gt;"${base}.html" &lt;&lt;EOF
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset="UTF-8"&gt;
&lt;title&gt;Lorem ipsum&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;video autoplay controls&gt;
&lt;source src="$v" type="video/mp4"&gt;
&lt;/video&gt;
&lt;/body&gt;
&lt;/html&gt;
EOF

    rm -f "${base}.zip"
    zip "${base}.zip" "${base}.html" "$v"
done


Save it as a shell script in a convenient place, open Terminal, run chmod +x name-of-script and execute as ./name-of-script *.mp4