[Feature Request] Video support

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

Re: [Feature Request] Video support

Post by Jan »

Hi I am willing to develop this but the problem is my time .. :-(, second I don't know how this can be made, which method should be used for displaying video :-(

You can display the videos the same way as youtube is displayed, so you have some player on your server and this can be called e.g. as youtube is called, somewhere on this forum there is a solution how to use Phoca Gallery for videos...

Jan
If you find Phoca extensions useful, please support the project
gray
Phoca Member
Phoca Member
Posts: 39
Joined: 03 Jul 2008, 13:30

Re: [Feature Request] Video support

Post by gray »

Actually, code used by AllVideos plugin (or any similar) could be taken.
To make this process simpler, maybe uploading of videos could be limited to flash files only, for example.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [Feature Request] Video support

Post by Jan »

ok
If you find Phoca extensions useful, please support the project
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Re: [Feature Request] Video support

Post by hmayer1980 »

Hi,

I would also appreciate a regular video function.

My host suports the http://www.jeroenwijering.com/ JW FLV Media Player - its free for non comercial use.

I tried to integrate this, but I seems the Video Code is not allowed to contain a comma - which would be required for my tests.
I am not the best in reverse engeneering - could you give me an hint where to find PhocaGalleryHelpers::getParamsArray - this function reads the videcode from the parameter field - a hint howto modify it (where it is) oder how to proper quote the comma would be helpful.

by the way - how is it gooing with the implementation of this feature?

Best Regards
Hannes Mayer

This is what needs integration - in a regular joomla article it works, but I would like to have it in the gallery...

Code: Select all

<script type="text/javascript" src="https://media.dreamhost.com/swfobject.js"></script>
<div id="CIMG0557_rotated_480x640.flv"><a
href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see
this player.</div>
<script type="text/javascript">
var sd = new
SWFObject('https://media.dreamhost.com/mediaplayer.swf','mpl','480','640','8');
sd.addParam('allowscriptaccess','always');
sd.addParam('allowfullscreen','true');
sd.addVariable('height','640');
sd.addVariable('width','480');
sd.addVariable('file','http://www.hmayer.net/images/phocagallery/20090509RenovierungHaus/CIMG0557_rotated_480x640.flv');
sd.write('CIMG0557_rotated_480x640.flv');
</script>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [Feature Request] Video support

Post by Jan »

Hi, please let me know which size has the JW FLV Media Player. Maybe there will be problem with the size of Phoca Gallery then..

There are some problems which needs to be solved
- add support for uploading videos
- how to create thumbnails from video?


PhocaGalleryHelpers::getParamsArray:
You can find this method here
administrator\components\com_phocagallery\helpers\phocagallery.php

this method returns array of params saved in params column
If you find Phoca extensions useful, please support the project
Lucia-2009
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 12 May 2009, 19:35

Re: [Feature Request] Video support

Post by Lucia-2009 »

Hi,

Just to say that I am supporting you in process of finding a solution to integrate allvideos plugin, unfortunately, I am not good enough in programming ( now at least) to try to find the solution.

I am actually buidling a brand new site for an animals refuge (for free of course :-), and I was thinking to have a video of each dog or cat to adopt...

So good luck for finding the solution, and if by then , I become much more better in developing and find the solution, I will share it..

And to finish, very good component you did there.

Thanks for that.

Bye bye

Lucia
Lucia-2009
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 12 May 2009, 19:35

Re: [Feature Request] Video support

Post by Lucia-2009 »

Hi Again,

I THINK I FOUND THE SOLUTION I HAVE THE VIDEOS IN THE PHOCA IMAGE.
:| :| :|

I just used the all videos reloaded component:
http://extensions.joomla.org/extensions/3955/details

and used the same plugin instruction {wmv}file_name{/wmv} in the phoca image description.

For information, first time I heard about joomla was 9 dayyyyys ago :-)

Bye bye

Lucia
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Re: [Feature Request] Video support

Post by hmayer1980 »

Hi,

as you see in the parameters the player should be 480x640.

Also this AllVideo plugin uses the same player then I use.
My Issue is really that the code I want to put into the videocode contains commas and semicolons which are not quoted at save - and therefore the getParamsArray Funktion have issues with.

I have worked arround with an special hack in the details view - video code uses a special code to encode and decode the comma and semicolon in the parameter version.

I would appreciate if this would not be necessary in further version. (Could be regulary an issue with any code)

Regarding upload - just upload like any picture - just with flv oder some other video format extension (I always upload per ftp and then add the entire directory)

Regarding thumbnail - like you do it with the youtube - let the user select an existing picture (or add a special icon)?
I would just generalize the youtube video functionality.

Best Regards
Hannes
Post Reply