Playing HTML5 video in Ebooks and Publications (MP4)

Applies to IE Browser publications.

By using HTML5, you can add a video player to your webpage without requiring a third-party plug-in or add-on.

Below we are playing a MP4 movie:

Example not available in this online documentation: please run the offline help from HTML Executable to have a working example.

HTML code:

<video id="video" loop autoplay controls>
<source src="media/sunpeek.mp4"></source>
        HTML5 video not supported: Internet Explorer 9 is not installed
</video>

Warning: for users of Windows 7, Vista, XP, support for HTML5 in HTML Executable 4 requires Internet Explorer 9 to be installed on the end user’s computer (not necessarily set as the default browser). On Windows 8, 8.1, Windows 10 and higher, this is natively supported (thanks to Internet Explorer 10 and higher that ships with Windows).

The built-in server is used to play video files through HTML5.

About large video files and how to encrypt them to avoid copying

If your video files are large, we recommend you to keep them outside the publication .EXE file (Windows handles EXE filesizes up to 4 GB only): they are considered as external files.

Moreover, HTML Executable allows you to encrypt your video files so that these files can only be played by the publication or ebook. This is a security feature that will help avoid unwanted copying of your video resources.

Refer to the Encrypt External Files topic.


Copyright G.D.G. Software 2018. All rights reserved