squirreltown
13 years agoRoku Guru
Dropbox https
trying to play a video from Dropbox in the customvideoplayer example in the SDK
I know i need to put the cert somewhere. Is this the right place?:
Here is the error showing in the debugger:
Thanks
I know i need to put the cert somewhere. Is this the right place?:
this.player.SetMessagePort(this.port)
this.player.SetLoop(true)
this.player.SetPositionNotificationPeriod(1)
this.player.SetDestinationRect(this.layout.left)
this.player.SetCertificatesFile("common:/certs/ca-bundle.crt")
this.player.InitClientCertificates()
this.player.SetCertificatesDepth(3)
this.player.SetContentList([{
Stream: { url: "https://www.dropbox.com/s/5sf90bps47yd009/flexiflyer.mp4" }
StreamFormat: "mp4"
SwitchingStrategy: "full-adaptation"
}])
this.player.Play()
return this
End Sub
Here is the error showing in the debugger:
11, 0: startup progress
11, 66: startup progress
11, 0: Service does not support range requests.
11, 132: startup progress
9,-1: There was an error in the HTTP response. This could mean that malformed HTTP headers or an HTTP error code was returned.
16, 0: Playback completed.
11, 0: end of playlist
Thanks