ezCommunitySuite

ezGallery => ezGallery Support => Topic started by: KGF on January 05, 2015, 04:08:03 am

Title: embed videos in comments
Post by: KGF on January 05, 2015, 04:08:03 am
Hello,
 I want to make embed videos (youtube or other) in comments.
 how can I do that?
Title: Re: embed videos in comments
Post by: ezCommunitySuite on January 05, 2015, 05:42:58 am

Open themes/Gallery.template.php

Find around line 2741
Code: [Select]
echo  parse_bbc($row['comment']);

Change to
Code: [Select]

$row['comment'] = parse_bbc($row['comment']);

echo  parse_bbc($row['comment']);

Title: Re: embed videos in comments
Post by: KGF on January 05, 2015, 06:25:27 am
Thanks,
I changed the code
but the video is not displayed:
<iframe src="http://flashservice.xvideos.com/embedframe/10097290" frameborder=0 width=510 height=400 scrolling=no></iframe>
Title: Re: embed videos in comments
Post by: ezCommunitySuite on January 05, 2015, 06:54:16 am
You would just use the url. But xvideos isn't supported on the list.
Title: Re: embed videos in comments
Post by: KGF on January 05, 2015, 06:57:37 am
how can I do that?

also youtube videos with url will not displayed:
https://www.youtube.com/watch?v=SdrG0V6yKc4
Title: Re: embed videos in comments
Post by: ezCommunitySuite on January 05, 2015, 07:01:25 am
I would have to write support for it
Title: Re: embed videos in comments
Post by: KGF on January 05, 2015, 07:04:24 am
embed code for xvideos.
ok, can I pay by paypal?

no reply?
Title: Re: embed videos in comments
Post by: KGF on January 08, 2015, 04:55:30 am
One answer would be nice!
Title: Re: embed videos in comments
Post by: ezCommunitySuite on January 08, 2015, 10:54:18 am
Possibly have to look into it to see if the urls support it.
Title: Re: embed videos in comments
Post by: KGF on January 08, 2015, 11:26:33 am
I checked:

it will not play youtube and xvideos.
Title: Re: embed videos in comments
Post by: ezCommunitySuite on January 08, 2015, 01:51:07 pm
youtube should work give a sample url.
xvideos will not I would have to build custom code for it.
Title: Re: embed videos in comments
Post by: KGF on January 08, 2015, 06:19:03 pm
Hello,
 I have uploaded at this link 2 test images with commentary.
 To see it,  they must be registered, ok !


http://www.photoplaca.com/index.php?action=gallery;sa=view;id=572
http://www.photoplaca.com/index.php?action=gallery;sa=view;id=573


Have you tested it ?
it is now more or play with me ?
how long must I wait ?

how are you?
we continue to work?
Title: Re: embed videos in comments
Post by: KGF on January 20, 2015, 04:05:09 am
where I need to copy the bb-code for xvideos/youtube point ?
in which file?

No answer is no solution
Title: Re: embed videos in comments
Post by: Sturmkatze on January 20, 2015, 10:01:38 am
Just for the record, mine won't play youtibe's either... Here is the error message:

Code: [Select]
Fatal error: Function name must be a string in /home/content/45/10604445/html/forum/ezGallery5/sources/sCore.php(161) : runtime-created function(3) : regexp code on line 1
Title: Re: embed videos in comments
Post by: Sturmkatze on January 20, 2015, 10:02:56 am
Oh yes, it's here: http://greatwarassociation.com/forum/ezGallery5/index.php?action=gallery;cat=14 (http://greatwarassociation.com/forum/ezGallery5/index.php?action=gallery;cat=14)
Title: Re: embed videos in comments
Post by: ezCommunitySuite on January 21, 2015, 10:41:47 pm
Update to try attached the files
Copy Gallery.php to Sources folder
Copy Framework.php to Sources folder

Copy upgrade.php to your main folder of your gallery. Then run upgrade.php via the browser http://www.yourgallery.com/upgrade.php to update it.



This update fixes the following:
+Updates media site embed code adds a bunch new sharing sites.
!Fixed https video sharing sites embeding such as youtube https:// version
!Fixed not allowing adding video to member gallery.
!Fixes html template issue for description boxes
Title: Re: embed videos in comments
Post by: KGF on January 22, 2015, 05:01:46 am
Hello,
and thanks for update,

I replaced all the files and update started.
in comments to this is always displayed only embed text,
not the player for youtub or xvideos
Title: Re: embed videos in comments
Post by: ezCommunitySuite on January 22, 2015, 08:06:42 am
For comments you will have to remake the edit in the first post.
Haven't done xvideos yet
Title: Re: embed videos in comments
Post by: KGF on June 03, 2015, 05:00:18 am
Hi, I have renewed the files,
  but youtube and xvideos does not work,
 what I need to change?