google glass - Playing video in the mirror API -


i'm little confused playing videos in mirror api

are there restrictions using html tags in "html" field?...

alain says

blocked html elements: these elements, , contents, removed html payloads. document headers: head, title embeds: audio, embed, object, source, video

however looking @ documentation ...

https://developers.google.com/glass/v1/reference/timeline/insert

accepted media mime types: image/* , audio/* , video/*

so ... i'm guessing can attach video not embed video? seems subtle distinction, app have have main html card , sub menu choice view video. correct?

correct. html video elements stripped inserted timeline cards, can attach video. video attached timeline cards played in full screen native player on glass.

if you'd include video other rich content, bundling way go. can accomplish specifying html cover card , many video cards same timelineitem.bundleid.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -