We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello !
Is it possible to play a video from the web (youtube / vimeo ) ? - in java mode (not javascript) -
I search a bit on google and in the forum but I didn't find anything about it... I guess it's impossible... ( ? )
Thanks !
up
My best guess would be to take a look at the Developer sections of these sites, and see if they offer an API to consume a stream of video.
Hello PhiLho ! Thank you for you message.
Youtube & Vimeo have an API to use them in a web page. At least, I'm sure I can do it with Javascript or with Flash/AS3
but how can I do it in Processing ?
Here is the page where we can found the youtube API https://developers.google.com/youtube/code_samples?hl=fr
Well, there is a java example there... You know, Processing is java...
https://developers.google.com/youtube/analytics/v1/code_samples/java?hl=fr
Hello vk Thank you Yes, I know that Processing is Java but it's not so obvious for me that I could use every java-stuffs in Processing.
But I'm really happy to hear that it's possible ! Thank you again
It has being not obvious for me either… :) have a look here
https://github.com/processing/processing/wiki/How-to-Install-a-Contributed-Library-[DRAFT]
specially the "Non-Processing Libraries" portion.
thanks !
Answers
up
My best guess would be to take a look at the Developer sections of these sites, and see if they offer an API to consume a stream of video.
Hello PhiLho ! Thank you for you message.
Youtube & Vimeo have an API to use them in a web page. At least, I'm sure I can do it with Javascript or with Flash/AS3
but how can I do it in Processing ?
Here is the page where we can found the youtube API https://developers.google.com/youtube/code_samples?hl=fr
Well, there is a java example there... You know, Processing is java...
https://developers.google.com/youtube/analytics/v1/code_samples/java?hl=fr
Hello vk Thank you Yes, I know that Processing is Java but it's not so obvious for me that I could use every java-stuffs in Processing.
But I'm really happy to hear that it's possible ! Thank you again
It has being not obvious for me either… :) have a look here
https://github.com/processing/processing/wiki/How-to-Install-a-Contributed-Library-[DRAFT]
specially the "Non-Processing Libraries" portion.
thanks !