- Posts: 2
- Thank you received: 0
Lock URL of html video element
- dynamind
- Topic Author
- Offline
- New Member
Less
More
10 years 7 months ago - 10 years 7 months ago #44836
by dynamind
Lock URL of html video element was created by dynamind
Hi,
I'm working on a video-portal with restricted access to all videos.
Instead unregistered users should see only the preview image.
The html code looks like that:
How to the load the video url only for paid & logged on member?
I mean something just like ...
best regards
I'm working on a video-portal with restricted access to all videos.
Instead unregistered users should see only the preview image.
The html code looks like that:
Code:
<video class="video-js vjs-default-skin" poster="https://my*video*url/A01-a1.png" preload="none" controls="controls" width="568" height="320" data-setup="{}">
<source src="https://my*video*url/A01-a1.mp4" type='video/mp4' />
</video>
How to the load the video url only for paid & logged on member?
I mean something just like ...
Code:
<video class="video-js vjs-default-skin" poster="https://my*video*url/A01-a1.png" preload="none" controls="controls" width="568" height="320" data-setup="{}">
<source src="[locked]https://my*video*url/A01-a1.mp4[/locked]" type='video/mp4' />
</video>
best regards
Last edit: 10 years 7 months ago by dynamind.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Online
- Administrator
10 years 7 months ago #44868
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Lock URL of html video element
Hi
You are embeding that HTML code into a Joomla article, is that correct ? If so, maybe you can use the solution explained in this forum post joomdonation.com/forum/membership-pro/29...n-members.html#29339 to restrict access to it to subscribers only.
Basically, the "Content - Membership Pro Content Restriction" will allow you to hide part of Joomla article (in this case, that's the video HTML code) to only subscribers of your site.
Please try it and get back to me with the result !
Tuan
You are embeding that HTML code into a Joomla article, is that correct ? If so, maybe you can use the solution explained in this forum post joomdonation.com/forum/membership-pro/29...n-members.html#29339 to restrict access to it to subscribers only.
Basically, the "Content - Membership Pro Content Restriction" will allow you to hide part of Joomla article (in this case, that's the video HTML code) to only subscribers of your site.
Please try it and get back to me with the result !
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.