This topic contains 2 replies, has 2 voices. Last updated by Raam Dev 4 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Mar 6th, 2012 at 8:55 pm #7510 | |
I just moved my site to a new hosting service running Apache 2 because I couldn’t get videos to stream from my bucket with Apache 1. My site is intended to offer streaming-only videos on a rental basis, using the “Buy Now” function, with limited-time access to a specific page containing the video, using custom capabilities. But I’m having trouble getting the video to stream with JW Player. To test this, I’ve placed a file named “video.mp4” in my Amazon S3 bucket “rockitscience”. Its metadata Content-type is “video/mp4” and Content-Disposition is “inline”. When I installed JWPlayer, the JWPlayer files were auto-installed in the plugins folder, except for “jwplayer.js” and “player.swf”, which were auto-installed in uploads/jw-player-plugin-for-wordpress/player/. On the root level of my web site, I added a folder named “jwplayer” containing copies of “jwplayer.js” and “player.swf”, as recommended in the s2Member forum. If I use this code, the video opens in a new window, so the filepath must be okay, but I’d rather have it embedded in the page with JW Player:
The code below is the exact code given in s2Member Settings under JW Player® ( RTMP streaming MP4, via s2Member’s Amazon® S3/CloudFront integration ). It was copied and pasted with no changes. But when I view the page, the video player does not appear. All I get is “JW Player appears here.”
|