Hi,
To create a test case I used the html Sigil uses if you double-click in the Browser pane to open a Tab with audio and or video.
Here are those code snippets. You just need to replace the src="" link with ../Video/your_movie_name.mp4
Code:
const QString AUDIO_HTML_BASE =
"<html>"
"<head>"
"<style type=\"text/css\">"
"body { -webkit-user-select: none; }"
"audio { display: block; margin-left: auto; margin-right: auto; }"
"</style>"
"<body>"
"<p><audio controls=\"controls\" src=\"%1\"></audio></p>"
"</body>"
"</html>";
const QString VIDEO_HTML_BASE =
"<html>"
"<head>"
"<style type=\"text/css\">"
"body { -webkit-user-select: none; }"
"video { display: block; margin-left: auto; margin-right: auto; }"
"</style>"
"<body>"
"<p><video controls=\"controls\" width=\"560\" src=\"%1\"></video></p>"
"</body>"
"</html>";
i will post an example epub when I am back in front of my computer.
KevinH