This topic contains 6 replies, has 3 voices. Last updated by Cristián Lávaque 4 years, 2 months ago.
Topic Author | Topic |
---|---|
Posted: Sunday Oct 21st, 2012 at 9:23 pm #29227 | |
I’m working on a page template that uses the JW Player to play a video for a member if they’re logged in, but I can’t seem to get it to work properly when the file is in the /s2member-files directory. I’m trying to get the video player to play an MP4 file only and then use the HD plugin to allow the user to switch to an HD MP4 file. The regular MP4 plays but doesn’t pseudostream so for a 20 minute video you’d have to wait until it’s downloaded the part you want to watch before you can skip to it. When I click the HD button to view the HD file it says that it just can’t find the file. If I move the video files to another directory or delete .htaccess file from the /s2member-files directory everything works perfectly… except then my files aren’t protected. Below is the code that I’m currently using in my page template: jwplayer_tag_callback(‘[jwplayer config=”640×360″ file=”https://mydomain.com/home/?s2member_file_download=video.mp4&s2member_file_inline=yes” hd.file=”https://mydomain.com/home/?s2member_file_download=hdvideo.mp4&s2member_file_inline=yes” image=”https://mydomain.com/home/images/image.jpg” plugins=”hd”]’) Please note that /home is after mydomain.com because my WordPress site is installed in that directory. Please help!
|