Youtube Videos Registered Access

Phoca Download - download manager
ChristopheMG
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Aug 2015, 17:20

Youtube Videos Registered Access

Post by ChristopheMG »

Hello,

Phoca Download 3.0.6
Joomla! 3.3.6 Stable

I'm looking to simply propose our Youtube videos to users (registered).
It works for pdf.

I created a category "webinars", id "6", Access Registered.
Then I create to test one file like in this tuto : https://vimeo.com/77382541, I change Access to Registered (again).
Id of this file: 77

In the article, I tested :
test1 {phocadownload view=file|id=77}
test2 {phocadownload view=youtube|url=***}
test3 {phocadownload view=youtube|youtubewidth="560"|youtubeheight="315"|url=***}
test4 {phocadownload view=category|id=6|text=Webinars|target=b}

Result:
Image

I certainly miss something easy... But what? :x

Kind regards,
Christophe.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Youtube Videos Registered Access

Post by Jan »

Hi, see the demo here:
https://www.phoca.cz/demo/phoca-download-plugin

Check if the plugin code does have the right format and check if there are no empty spaces, etc. (e.g. when copied e.g. from some content).

Jan
If you find Phoca extensions useful, please support the project
ChristopheMG
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Aug 2015, 17:20

Re: Youtube Videos Registered Access

Post by ChristopheMG »

Thank you Jan, the video works but,
How to authorize the access/play video to registered only?

It works for pdf files, I use:

Code: Select all

{phocadownload view=file|text=blablabla|target=b|id=19}
And this file is in a category with Access Registered.

Maybe the solution is to open a category, but how to parameter files?

Code: Select all

<p>{phocadownload view=category|id=6}</p>
Christophe.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Youtube Videos Registered Access

Post by Jan »

Hi, if you are using plugin code, then all the authorizing must be applied to the article as there are article rules, not Phoca Download rules :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply