kelvis2000
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2015
10:09 AM
Moving Videos to Cloud with connection problems?
The video will not play on my Roku dev channel?
here is the video link which works when putted to browser..
https://objects.dreamhost.com/guitar/VIDEOS/Bibbspirit.mp4
Here I posted the URL given into the XML
and it does not work, there are other videos in this same XML doc that are working
but these videos are noted in a traditional hosting environment.
I am switching to a Cloud Based environment,… any ideas?
<title>Eric Bibb</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>https://objects.dreamhost.com/guitar/VIDEOS/Bibbspirit.mp4</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>https://objects.dreamhost.com/guitar/VIDEOS/Bibbspirit.mp4</streamUrl>
</media>
<synopsis>Dont Let it get Spirit Down.</synopsis>
<genres>Clip</genres>
</item>
Thanks
Kevin
here is the video link which works when putted to browser..
https://objects.dreamhost.com/guitar/VIDEOS/Bibbspirit.mp4
Here I posted the URL given into the XML
and it does not work, there are other videos in this same XML doc that are working
but these videos are noted in a traditional hosting environment.
I am switching to a Cloud Based environment,… any ideas?
<title>Eric Bibb</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>https://objects.dreamhost.com/guitar/VIDEOS/Bibbspirit.mp4</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>https://objects.dreamhost.com/guitar/VIDEOS/Bibbspirit.mp4</streamUrl>
</media>
<synopsis>Dont Let it get Spirit Down.</synopsis>
<genres>Clip</genres>
</item>
Thanks
Kevin
12 REPLIES 12
RobSMS
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2015
12:01 PM
Re: Moving Videos to Cloud with connection problems?
I'm not 100% familiar with Dreamhost's cloud file service, but I'm wondering if it's the same issue as Amazon S3. If you try and distribute files directly from S3, they won't play.
Instead, you have to deliver them with Cloudfront which seemed to fix the problem. Not sure if it's the same situation for Dreamhost, but thought it might help.
Instead, you have to deliver them with Cloudfront which seemed to fix the problem. Not sure if it's the same situation for Dreamhost, but thought it might help.
Need Apps Templates? Content Management for OTT/IPTV? Check me out @ http://rovidx.com

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2015
02:23 PM
Re: Moving Videos to Cloud with connection problems?
Are you setting a certificate to handle the https URLs?
--Mark
--Mark
kelvis2000
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2015
02:39 PM
Re: Moving Videos to Cloud with connection problems?
"RokuMarkn" wrote:
Are you setting a certificate to handle the https URLs?
--Mark
Mark thanks so much for your response but I am basically putting this together by trial and error,
This is pretty new to me.
I uploaded the videos to my regular server at Kevsblues.com which worked fine,
then Dreamhost told me I was basically going against their rules and regulations
by having this type a setup. I was advised to set up a Cloud account which I did.
Today I did a test on one video in a "Current Blues" section which is working
from the kevsblues.com site. I changed the Bibbspirit.mp4 link
to the cloud server and it does not work.
I do not know how to manipulate the certificate, mostly I have been working with the XML files
and some bright script and this involves mostly changing images and mp4's
Thanks for Your Help!
Kevin
kelvis2000
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2015
02:42 PM
Re: Moving Videos to Cloud with connection problems?
"RobSMS" wrote:
I'm not 100% familiar with Dreamhost's cloud file service, but I'm wondering if it's the same issue as Amazon S3. If you try and distribute files directly from S3, they won't play.
Instead, you have to deliver them with Cloudfront which seemed to fix the problem. Not sure if it's the same situation for Dreamhost, but thought it might help.
Thanks for your help RobSMS,
not too sure what to do at this point.
I sent Dreamhost a email and this was their response,____________
Hi Kevin,
I spoke with our DreamObjects dev team regardin the issue. We can verify
that the video works when viewing a browser so at the least we can say
that the video is accessible. In order to further investigate we are
going to need more detailed information. If roku has some sort of
debugging output please provide that in a response. Have you tried
encoding with a different codec such as H.264 MKV?
Please feel free to contact us if you have any additional questions.
Now I am wondering if I should switch to Amazon?
I have been using Dreamhost for about 12 years..
Thanks for your help!
Kevin

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2015
03:14 PM
Re: Moving Videos to Cloud with connection problems?
If you're not calling SetCertificatesFile in your Brightscript code, the https URLs will definitely not work. Fix that before you do anything else. Normally you would just call
where player is your roVideoScreen or roVideoPlayer.
--Mark
player.SetCertificatesFile("common:/certs/ca-bundle.crt")
where player is your roVideoScreen or roVideoPlayer.
--Mark
kelvis2000
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2015
05:16 AM
Re: Moving Videos to Cloud with connection problems?
"RokuMarkn" wrote:
If you're not calling SetCertificatesFile in your Brightscript code, the https URLs will definitely not work. Fix that before you do anything else. Normally you would just call
player.SetCertificatesFile("common:/certs/ca-bundle.crt")
where player is your roVideoScreen or roVideoPlayer.
--Mark
I set up CDN and changed the
link to
http://guitar.objects.cdn.dream.io/VIDE ... spirit.mp4
and it works which is great. Thanks for your help
Mark should I still set Certificate?
Also which Brightscript Doc would set I am looking for
bundle.crt which I am not able to find.
Seeing as it i working should I just leave well enough alone?
Thanks again!
Kevin
kelvis2000
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2015
05:17 AM
Re: Moving Videos to Cloud with connection problems?
"RobSMS" wrote:
I'm not 100% familiar with Dreamhost's cloud file service, but I'm wondering if it's the same issue as Amazon S3. If you try and distribute files directly from S3, they won't play.
Instead, you have to deliver them with Cloudfront which seemed to fix the problem. Not sure if it's the same situation for Dreamhost, but thought it might help.
I set up CDN which is the Dreamhost equivalent to Cloudfront and changed the
link to
http://guitar.objects.cdn.dream.io/VIDE ... spirit.mp4
and it works which is great.
Thanks!
Kevin

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2015
08:33 AM
Re: Moving Videos to Cloud with connection problems?
Now you're using an http link, not https, so you don't need to set a certificate file. If you ever use https again you will need it.
--Mark
--Mark
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2015
10:01 AM
Re: Moving Videos to Cloud with connection problems?
"kelvis2000" wrote:
Also which Brightscript Doc would set I am looking for
bundle.crt which I am not able to find.
It's hard to find the official documentation for this. In the Component Reference documentation for roVideoScreen, for example, it mentions that roVideoScreen supports the ifHttpAgent interface, which implements the SetCertificatesFile method, which states that, "Instances of roUrlTransfer and ifHttpAgent components should call this function before performing https requests", and "The appropriate certificates file should be placed at the location specified in the SetCertificatesFile() function call". To find any mention of the certificates file name you'd have to look in the Component Reference File System documentation; under "Pathnames" it states: "common – a common read-only filesystem that all plugins have access to. Currently it only contains a CA certificate bundle that contains CA certs trusted by FireFox (common:/certs/ca-bundle.crt)".