Author Topic: embed videos in comments  (Read 40920 times)

0 Members and 1 Guest are viewing this topic.

KGF

  • ezCustomer
  • *****
  • Posts: 100
embed videos in comments
« 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?
« Last Edit: January 05, 2015, 04:09:56 am by KGF »

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: embed videos in comments
« Reply #1 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']);


KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: embed videos in comments
« Reply #2 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>

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: embed videos in comments
« Reply #3 on: January 05, 2015, 06:54:16 am »
You would just use the url. But xvideos isn't supported on the list.

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: embed videos in comments
« Reply #4 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
« Last Edit: January 05, 2015, 07:01:33 am by KGF »

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: embed videos in comments
« Reply #5 on: January 05, 2015, 07:01:25 am »
I would have to write support for it

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: embed videos in comments
« Reply #6 on: January 05, 2015, 07:04:24 am »
embed code for xvideos.
ok, can I pay by paypal?

no reply?
« Last Edit: January 07, 2015, 07:45:21 am by KGF »

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: embed videos in comments
« Reply #7 on: January 08, 2015, 04:55:30 am »
One answer would be nice!

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: embed videos in comments
« Reply #8 on: January 08, 2015, 10:54:18 am »
Possibly have to look into it to see if the urls support it.

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: embed videos in comments
« Reply #9 on: January 08, 2015, 11:26:33 am »
I checked:

it will not play youtube and xvideos.

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: embed videos in comments
« Reply #10 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.

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: embed videos in comments
« Reply #11 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?
« Last Edit: January 19, 2015, 07:10:53 am by KGF »

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: embed videos in comments
« Reply #12 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
« Last Edit: January 20, 2015, 08:40:03 am by KGF »

Sturmkatze

  • Newbie
  • *
  • Posts: 12
Re: embed videos in comments
« Reply #13 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

Sturmkatze

  • Newbie
  • *
  • Posts: 12

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
5449 Views
Last post August 15, 2014, 02:08:18 am
by KGF
7 Replies
8179 Views
Last post October 29, 2014, 03:44:42 am
by KGF
4 Replies
6857 Views
Last post December 01, 2014, 09:15:18 pm
by Sturmkatze

© 2024 ezCommunitySuite