I'm using the bandwidth detection plugin to set the video to use from S3. I have hashed URLs on my local app that point to videos on S3, so something like
http://localhost:3000/output_videos/0fc72dcb874b9ecb0116969741c4144e72f5c7eb
points to a video.
I've set up a bitrates array where the label is the full URL to the video, and my urlPatternNoExt is '{1}', so that the actual video URL is ignored and the bitrate label is the only thing used.
This works fine on my local machine, but when I deploy to my server, the URL that ends up trying to load is wrong. Instead of what I'd expect, like:
'http://app.provdn.com/output_videos/dbb0172af29fed1c557436f8c85ca3b953898345'
I get the URL inserted in to the middle of the URL, like this:
'http://app.provdnhttp://app.provdn.com/output_videos/dbb0172af29fed1c557436f8c85ca3b953898345.com/output_videos/57528c46dfe3afaa28ba92bf531414998e73f50f'
, with the desired URL stuck in the middle of the default URL.
If anyone has seen this before or knows what I might need to change, I'd appreciate it. My best guess so far is that this might be an issue with it being on a subdomain, but I haven't looked too far in to that yet.
My bwcheck code:
http://localhost:3000/output_videos/0fc72dcb874b9ecb0116969741c4144e72f5c7eb
points to a video.
I've set up a bitrates array where the label is the full URL to the video, and my urlPatternNoExt is '{1}', so that the actual video URL is ignored and the bitrate label is the only thing used.
This works fine on my local machine, but when I deploy to my server, the URL that ends up trying to load is wrong. Instead of what I'd expect, like:
'http://app.provdn.com/output_videos/dbb0172af29fed1c557436f8c85ca3b953898345'
I get the URL inserted in to the middle of the URL, like this:
'http://app.provdnhttp://app.provdn.com/output_videos/dbb0172af29fed1c557436f8c85ca3b953898345.com/output_videos/57528c46dfe3afaa28ba92bf531414998e73f50f'
, with the desired URL stuck in the middle of the default URL.
If anyone has seen this before or knows what I might need to change, I'd appreciate it. My best guess so far is that this might be an issue with it being on a subdomain, but I haven't looked too far in to that yet.
My bwcheck code:
bwcheck: {
url: 'http://app.provdn.com/flash/flowplayer.bwcheck-3.1.3.swf',
netConnectionUrl: 'http://app.provdn.com/flash/test.swf',
bitrates: {
'http://app.provdn.com/output_videos/dbb0172af29fed1c557436f8c85ca3b953898345':200,
'http://app.provdn.com/output_videos/408c70686cc0043be6f8e93e0ca107ce2a9e127b':600,
'http://app.provdn.com/output_videos/57528c46dfe3afaa28ba92bf531414998e73f50f':1000
},
urlPatternNoExt: '{1}'
}