Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There is a working Curl example of a multipart request that uses the streaming video url feature here:</p> <p><a href="https://stackoverflow.com/questions/16997932/attaching-video-with-video-vnd-google-glass-stream-url-after-update-xe6/16998808#16998808">Previous Streaming Video Answer with Curl example</a></p> <p>It does exactly what you are trying to do, but with Curl. You just need to adapt that to your technology stack.</p> <p>The 401 you are receiving is going to prevent you even if you use the right syntax. A 401 response indicates you do not have authorization to modify the timeline. Make sure you can insert a simple hello world text only card first. Once you get past the 401 error and get into parsing errors and format issues the link above should be everything you need.</p> <p>One last note, you don't need <a href="http://docs.python.org/2/library/urllib2.html" rel="nofollow noreferrer">urllib2</a>, the Mirror API team dropped a gem of a feature in our lap and we don't need to be bothered with getting the binary of the video, check that example linked above I <em>only</em> provided a URL in the multipart payload, no need to stream the binary data! Google does all the magic in XE6 and above for us.</p> <p>Thanks Team Glass!</p> <p>I think you will find this is simpler than you think. Try out the curl example and watch out for incompatible video types, when you get that far, if you don't use a compatible type it will appear not to work in Glass, make sure your video is encoded in a Glass friendly format.</p> <p>Good luck!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload