This topic contains 3 replies, has 2 voices. Last updated by Cristián Lávaque 3 years, 7 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Jun 4th, 2013 at 10:40 am #51329 | |
Hi, We have uploaded the output from our e-learning authoring application to the s2member-files directory. The content is basically an html5.html file which links to SWFs and MP4 videos located under subdirectories. I am calling the html5.html file through a script to open in a popup window from a page upon clicking a text. However, instead of opening the page in the new page, it asks to download it to local and upon downloading html5 becomes a local file and the content is not played in the newly opened window. I also tried embedding the html5.html in an iframe in the main page and still it asks for download instead of embedding. Please suggest how to deal with this issue. Also I am not sure if the html5.html will be able to access the video files located in the subdirectories even it is embedded well. Is there any way to protect the wp-content/uploads directory as we use an attachment plugin for bbpress which uploads the files directly to the media library. We just need to protect the files from public users and enable only logged in users to access them. Looking forward to your assistance. Regards, Jinobi |