Supported Media Types
- Images:
image/jpeg, image/png
- Videos:
video/mp4
- ZIP:
application/zip, application/x-zip-compressed
- HTML:
text/html
- URL:
text/url
Images
Any JPEG or PNG image will be displayed according to the canvas setting.
Videos
- Only
MP4
containers are supported for direct play - Supported codecs: H.264 and MP3/AAC (base) recommended for video. See This issue comment.
- Chromium supports other containers and codecs via HTML5.
HTML5 Media Containers (ZIP)
- HTML5 content is received as a ZIP file with an index.html file in its root.
- This zip file is uploaded in Broox Studio and on execution is expanded locally.
- MP tries to load index.html as the root DOCUMENT object.
The HTML5 content can execute javascript just like chromium to perform interaction tasks. Standard browser tasks are available.
Apart from that, the media player imports the broox namespace, offering helper methods for: - Subscription to MQTT messages. - Reception of OSC/TUIO messages. - Storage of key-value objects that persist between versions of the content.
URLs
A single URL can be set as the target media. In this case, it is loaded as a full screen HTML view and rendered as a normal browser would.
The target webpage will have to be tested, as the environment might not be 100% compatible (or comparable) to a desktop or mobile web browser.