Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
maandazi
Visitor

Java to Roku

I have a java app that stream video from Oracle DB.
This is my URL from video tag to java app and it is streaming mp4 format.

http://host:port/JavaServlet?id=45

I'm new in roku world and I want to use the same URL in Roku. Can someone tell me the better approach to this?
0 Kudos
5 REPLIES 5
RokuJoel
Binge Watcher

Re: Java to Roku

Use the simplevideoplayer example in the sdk, replace this line:

urls = ["http://video.ted.com/talks/podcast/CraigVenter_2008_480.mp4"]

with your url:

urls = ["http://host:port/JavaServlet?id=45"]

zip the example, side-load onto your Roku and test.

- Joel
0 Kudos
maandazi
Visitor

Re: Java to Roku

"RokuJoel" wrote:
Use the simplevideoplayer example in the sdk, replace this line:

urls = ["http://video.ted.com/talks/podcast/CraigVenter_2008_480.mp4"]

with your url:

urls = ["http://host:port/JavaServlet?id=45"]

zip the example, side-load onto your Roku and test.

- Joel

Thanks Joe.. I have try that one but is breaking... when I press play it trying to open and go back to video screen. Is there anything else I have to do? I have tries to load simplevideoplayer and it does the same thing but sample videoplayer works.

Do you want to see the codes?
0 Kudos
RokuJoel
Binge Watcher

Re: Java to Roku

If you want me to take a look at your source code, please send me a private message on this board with a download link via dropbox or a similar service.

- Joel
0 Kudos
maandazi
Visitor

Re: Java to Roku

"RokuJoel" wrote:
If you want me to take a look at your source code, please send me a private message on this board with a download link via dropbox or a similar service.

- Joel


Still not working... I was wrong
0 Kudos
RokuJoel
Binge Watcher

Re: Java to Roku

Like I said, dropbox me the source as a private message (you can click on my name and then click "Send a private message".)

- Joel
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.