I just tested this locally by changing my testing domain from localhost to test.localhost.local, and the issue is definitely because of it's on a subdomain.
Forum user: zenvdn
Basic information
| Registered | Nov 3, 2009 |
| Last login | Jan 19, 2010 |
| Forum posts | 9 |
| Direct URL | http://www.flowplayer.org/forum/users/18154 |
Latest forum posts
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}'
}
Excellent. Thanks for your help with this.
Ok, so is there no way for autoBuffering to load the video while the splash image is displayed? Isn't that what's being doing athttp://flowplayer.org/demos/configuration/playlist-splash.html ?
http://www.zenvdn.com/v/2f21c08db3121d5cac00b9aa79438d03af3ac5c2 Here is an example. As you can see, the splash image loads initially, then goes away and the first frame of the video is displayed as the autoBuffering starts.
Well, maybe you can help me figure out my situation.
I've tried copying the setup athttp://flowplayer.org/demos/configuration/playlist-splash.html.
When I use that video and that image, everything loads fine on my instance.
When I put in a path to an image I have hosted on S3 and the flowplayer video, it also works fine.
When I put in my own video, hosted on S3, the splash image flashes and then the video displays. It doesn't autoPlay.
I am using the most recent version of Flowplayer.
Thanks.
I've tried copying the setup athttp://flowplayer.org/demos/configuration/playlist-splash.html.
When I use that video and that image, everything loads fine on my instance.
When I put in a path to an image I have hosted on S3 and the flowplayer video, it also works fine.
When I put in my own video, hosted on S3, the splash image flashes and then the video displays. It doesn't autoPlay.
I am using the most recent version of Flowplayer.
Thanks.
Does anyone know if there are plans to implement this for videos other than FLV? Thanks!
Thanks. I just got everything worked out - turns out one of the other developers had generated the code and copied it in to the page, rather than using the javascript itself, so things weren't working in IE. Once I switched it to follow the JS example everything works fine.
I have tried Flowplayer 3.1.2, 3.1.4, and 3.1.5 and experienced these errors on all of them. I've tried removing all javascript files from my page and just dropping the <div> and <object> in, like so:
Firefox, Chrome, Safari all come up fine with this, and while it eventually will play in IE, it's not until dozens of errors have gone by, either "Object required" on line 48 or "'null' is null or not an object" in several places. I've looked through the forums and searched online, and nothing has worked for me so far.
The site is athttp://zenvdn.com, if that is any help in seeing more examples. Thanks in advance.
<div style="width: 640px; height: 384px;">
<object data="/flash/flowplayer-3.1.5.swf" type="application/x-shockwave-flash" height="384" width="640">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="movie" value="/flash/flowplayer-3.1.5.swf">
<param name="quality" value="high"><param name="bgcolor" value="#000000">
<param name="flashvars" value='config={"clip":{"autoPlay":false,"autoBuffering":false,"scaling":"fit","url":"http://s3.amazonaws.com/zenvdn/screencast.mov"},"playerId":"player","playlist":[{"autoPlay":false,"autoBuffering":false,"scaling":"fit","url":"http://s3.amazonaws.com/zenvdn/screencast.mov"}]}'>
</object>
</div>
Firefox, Chrome, Safari all come up fine with this, and while it eventually will play in IE, it's not until dozens of errors have gone by, either "Object required" on line 48 or "'null' is null or not an object" in several places. I've looked through the forums and searched online, and nothing has worked for me so far.
The site is athttp://zenvdn.com, if that is any help in seeing more examples. Thanks in advance.