Keyword

AllVideos not working with HTTPS and local videos

  • nluk100
  • nluk100's Avatar Topic Author
  • Offline
  • New Member
More
6 years 1 month ago - 6 years 1 month ago #167175 by nluk100
I had my videos working fine before I tuned HTTPS on, now all I see is the thumbnail but when I click the video the play arrow disappears and the player controls don't show?

My videos are local to my server.

Update - ok, I fixed it. I had added some code to my htaccess to prevent direct linking and this was blocking it!
Last edit: 6 years 1 month ago by nluk100.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 1 month ago #167192 by Krikor Boghossian
Replied by Krikor Boghossian on topic AllVideos not working with HTTPS and local videos
Nice to hear that you sorted it out :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • nluk100
  • nluk100's Avatar Topic Author
  • Offline
  • New Member
More
6 years 1 month ago #167195 by nluk100
Yes, I wanted to restrict dirct access to the folder where I stored the local videos, so I added this to my htaccess file;

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC]
RewriteRule \.(mp4)$ - [NC,F,L]

I mis-typed my domain(!) but when I corrected it, it is all working now.

Hope this helps someone else.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 1 month ago #167204 by Krikor Boghossian
Replied by Krikor Boghossian on topic AllVideos not working with HTTPS and local videos
Thank you for sharing this :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum