Frequently asked questions

Archive filtered by HTML5

To remove filter keyword, click on it's name above.

GENERALQ: What is HTML5?

A: HTML5 is a markup language used for structuring and presenting content for the World Wide Web and a core technology of the Internet. Its core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices (web browsers, parsers, etc.). HTML5 is intended to subsume not only HTML 4, but also XHTML 1 and DOM Level 2 HTML.

 

M30Q: How can I set the z-index of a video with the JS-API?

A: There's no possibility or trick to get the video stacked on top of the other elements. Only if you are using the HTML5 video-element instead of the JS-API you can do that. Instead, you can work with a mask as you can find it in the Developer IDE.

Filter: JS-API M30

M30Q: How does the “stop” event work when I am using the HTML5 video object?

A: There is no stop event defined in HTML5, you can only pause the video. The video automatically stops when a different page gets loaded because the html5 object gets unloaded:



Download this example to see how to use the PAUSE button to pause/resume the video.

Filter: ABOX42 Showcases M30

M30Q: How do I use HTML5 to play a video inside the transparent area?

A: To complete Chapter II a HTML5 video object will be displayed inside the transparent area. See "Part 5" for details.

Filter: ABOX42 Showcases Hello World M30

M30Q: How can I create a simple “Hello World” app?

A: "Chapter II - Hello World with HTML5 video object" provides an answer to this question. A simple instruction for your first application. In "Chapter III - Hello World with JS-API video object" you learn how to use the JavaScript API to play videos instead of the HTML5 video object.

Filter: ABOX42 Showcases Hello World JS-API M30

M30Q: Can I use the HTML5 canvas functionality on the box?

A: Yes, HTML5 canvas is supported as specified in the HTML5 standard. See also Chapter I - Part 4

Filter: ABOX42 Showcases M30

M30Q: How can I store data on the box?

A: There are several possibilities:

Cookies are best when you want to store litte data (e.g. session keys).

Storage via HTML5 LocalStorage is also available.

- Storage via local SQLite database is another possibility you should look at.

Filter: ABOX42 Showcases M30 Storage Web Browser runtime Web Server runtime

M30Q: Are the media states also available for HTML5 video objects?

There are different media states you can work with when making use of ABOX42's JS-API. These media states are not available for HTML5 video objects, because they are decoupled from the media stb object.

Filter: M30 Media Player runtime