Video player for "fileplay" is not shown

Phoca Download - download manager
vladi
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Mar 2016, 16:38

Video player for "fileplay" is not shown

Post by vladi »

Hello community!

I'm using phoca plugins and components and I'm fully satisfied with functionality, thank you for great job!

But I faced with a small problem - when I add plugin to content page for fileplay (for video) with next code: {phocadownload view=fileplay|id=13|playerwidth=328|playerheight=200|playerheightmp3=30} the player is not shown on a page, there is just some place reserved for video and if I click on this place - opens a new page with direct file play. I just want to play video in a popup player.

And I found 1 more regularity - if i add one more plugin with fileplaylink after with next content - {phocadownload view=fileplaylink|id=13|playerwidth=328|playerheight=200|playerheightmp3=30} then video player is shown and video opens in popup window, but u can also see the content of fileplay (title of the file).

I'm using joomla 3.4.8 and phoca download 3.1.0.

Can you give me some hints how can I insert video to play in pop-up window in easiest way?

Thank you in advance,

Best regards,

Vladimir
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Video player for "fileplay" is not shown

Post by Jan »

Hi,

2) what you mean with "but u can also see the content of fileplay (title of the file)." Can you paste a screenshot what you exactly mean?

1) did you try to test it with Html5 (see options of component for play method), can I see the site where this occurs?

Jan
If you find Phoca extensions useful, please support the project
vladi
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Mar 2016, 16:38

Re: Video player for "fileplay" is not shown

Post by vladi »

Hey Jan! Thank you for reply,

2) http://fs5.directupload.net/images/160312/34q4s87x.png - this is the page with next content: {phocadownload view=fileplay|id=3|playerwidth=328|playerheight=200|playerheightmp3=30}. If you click on video - it opens in new page, not in popup.

If I add 1 more plugin row - {phocadownload view=fileplay|id=3|playerwidth=328|playerheight=200|playerheightmp3=30}
{phocadownload view=fileplaylink|id=3|text=Play file|playerwidth=328|playerheight=200|playerheightmp3=30}

everything displays correct but I don't need box with "File play" and its not convenient to add 2 plagins. the image here -http://fs5.directupload.net/images/160312/4bp3gvqe.png

1) Yes, I tried to test it with HTML5 player, but it doesn't really work. The page with content is here http://strasshof.lichtscheidl.com/die-g ... rastruktur.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Video player for "fileplay" is not shown

Post by Jan »

Hi, testing your site, this can be caused by javascript errors which are rendered on your site:

https://www.phoca.cz/documents/16-joomla ... -conflicts

I see:
Timestamp: 15. 3. 2016 21:44:38
Error: TypeError: window.addEvent is not a function
Source File: .../die-gemeinde/infrastruktur
Line: 320

And I see the flowplayer is loaded - what happen when you switch to html5 :idea:

Jan
If you find Phoca extensions useful, please support the project
vladi
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Mar 2016, 16:38

Re: Video player for "fileplay" is not shown

Post by vladi »

Hey, I found a solution. As you said the problem with a JS, somehow mootools-core.js and mootools-more.js didn't want to load on a page with player.

I just added these scripts to head area of a template index.php and now its loaded on every page, hope that other components and plugins will not be harmed because of it.

I tried to switch on a HTML5 Audio/Video player for video files in general options of component, but it didn't change enything, same Flowplayer and same JS error.

So this solution is acceptable.

Thank you a lot for your help!

Vladi
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Video player for "fileplay" is not shown

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
loth
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 15 Jul 2016, 00:52

Re: Video player for "fileplay" is not shown

Post by loth »

Hi Jan,

I got problems with the file player, im calling the mototools files and everything but dosnt work, in the config i´ve chaged html5 but still loading flash pdplayer.

Can you please check this http://websunstudio.com/sites/zornosaco ... -red-verde

Thanks for your help,

Loth
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Video player for "fileplay" is not shown

Post by Jan »

Hi, which version of Joomla!, Phoca Download do you use? Do you use plugin or component?

Jan
If you find Phoca extensions useful, please support the project
loth
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 15 Jul 2016, 00:52

Re: Video player for "fileplay" is not shown

Post by loth »

Hi Jen,
Im using Joomla! 3.6.5 Stable [ Noether ] 1-December-2016 22:46 GMT
And Phoca 3.1.2 Component and, donwload button, and plugin.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Video player for "fileplay" is not shown

Post by Jan »

Hi, for now I see the flowplayer there so cannot say what can be wrong. When you enable html5, do you get any javascript error message on the site ( https://www.phoca.cz/documents/16-joomla ... -conflicts )

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